svn commit: r315522 - in head: contrib/binutils/ld/emulparams sys/conf

Ed Maste emaste at freebsd.org
Sun Mar 19 00:30:20 UTC 2017


On 18 March 2017 at 20:25, Ian Lepore <ian at freebsd.org> wrote:
>
> I have always wondered why the arm ldscript pads with 0x90.  I don't
> know if I feel any better now, knowing that it's because that's an x86
> nop instruction. :)

Heh!

We used to pad the amd64, i386, and arm64 EFI loaders with
0x00300000010070000002000001000400, which is some ia64 instruction
sequence :-)

The arm padding ought to be switched to a breakpoint instruction or
some other trap or guaranteed illegal instruction.


More information about the svn-src-head mailing list