Paranoid NOP padding?

Ian Lance Taylor ian@c2micro.com
Thu Jul 14 17:01:00 GMT 2005


Jakub Jelinek <jakub@redhat.com> writes:

> But linker inserts padding as well, when padding in code segment between
> different input sections.  So it needs a binutils change as well.

A minor one, though, as you can specify the fill pattern in the linker
script.  Just set NOP in the emulparams file.  E.g.,
ld/emulparams/elf_i386.sh, which currently uses 0x90.

Ian



More information about the Binutils mailing list