provide both TRAP and NOP values for our architectures, then change
authorderaadt <deraadt@openbsd.org>
Sat, 1 Jul 2017 18:00:01 +0000 (18:00 +0000)
committerderaadt <deraadt@openbsd.org>
Sat, 1 Jul 2017 18:00:01 +0000 (18:00 +0000)
commit12dd90a1344c5a9766ec320087c6288822bb4866
tree847b52408271d859c09af8d1ac7fdec4f321b61e
parent3253c27b879535e81ed2c678559ce521afc6d720
provide both TRAP and NOP values for our architectures, then change
elf.sc to FILL .text segment with TRAP.  .init/.fini remain NOP FILL.

It is possible that some of these TRAP values aren't perfect yet, but
they can be changed.  When doing so also change the ld.script and gap.o
TRAP value.

discussions with mortimer, ok kettenis
14 files changed:
gnu/usr.bin/binutils-2.17/ld/emulparams/armelf_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf32bmip.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf32bmipn32-defs.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf64_sparc_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf64btsmip_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf64ltsmip_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf_i386_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf_x86_64_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/hppaobsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/shelf_obsd.sh
gnu/usr.bin/binutils-2.17/ld/scripttempl/elf.sc