increasing ld NOP to 4 bytes

Alan Modra amodra@bigpond.net.au
Thu Aug 16 21:01:00 GMT 2001


On Fri, Aug 17, 2001 at 01:36:52PM +1000, matthew green wrote:
>    
> is it possible to cause old NOP value's to be doubled to avoid
> having to update old ldscripts to add these values?  that would
> reduce the number of changed files fairly significantly...

Yes, quite easily, with a small amount of code in linker.c:
default_fill_link_order.  But that would break, eg. powerpcle
which has a nop of 0x00000060.

Alan



More information about the Binutils mailing list