i386 uses a intentional fallthrough between appended code blocks in .init,
authorderaadt <deraadt@openbsd.org>
Thu, 22 Jun 2017 21:26:54 +0000 (21:26 +0000)
committerderaadt <deraadt@openbsd.org>
Thu, 22 Jun 2017 21:26:54 +0000 (21:26 +0000)
which we cannot TRAPSLED FILL.  This needs to be done a different way.
diagnosis with kettenis

gnu/usr.bin/binutils-2.17/ld/emulparams/elf_i386_obsd.sh

index 22aa8ca..ae7ba0e 100644 (file)
@@ -1,6 +1,5 @@
 . ${srcdir}/emulparams/elf_i386.sh
 . ${srcdir}/emulparams/elf_obsd.sh
-NOP=0xcccccccc
 
 if test "${LD_FLAG#"${LD_FLAG%pie}"}" = "pie"; then
   TEXT_START_ADDR=0x0