This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Paranoid NOP padding?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]