Switch the mips64 linker scripts over to the templates that order .rodata
authorkettenis <kettenis@openbsd.org>
Sun, 5 Feb 2023 15:26:36 +0000 (15:26 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 5 Feb 2023 15:26:36 +0000 (15:26 +0000)
before .text.

ok deraadt@

gnu/usr.bin/binutils-2.17/ld/emulparams/elf64btsmip_obsd.sh
gnu/usr.bin/binutils-2.17/ld/emulparams/elf64ltsmip_obsd.sh

index 38173ed..da6057a 100644 (file)
@@ -3,6 +3,7 @@ MAXPAGESIZE=0x10000
 COMMONPAGESIZE=0x4000
 TEXT_START_ADDR="0x10000000"
 . ${srcdir}/emulparams/elf_obsd.sh
+SCRIPT_NAME=elf_obsd
 # XXX causes GOT oflows
 NO_PAD_CDTOR=y
 NOP=0x00000000
index 147ecdb..51b7589 100644 (file)
@@ -3,6 +3,7 @@ MAXPAGESIZE=0x10000
 COMMONPAGESIZE=0x4000
 TEXT_START_ADDR="0x10000000"
 . ${srcdir}/emulparams/elf_obsd.sh
+SCRIPT_NAME=elf_obsd
 # XXX causes GOT oflows
 NO_PAD_CDTOR=y
 NOP=0x00000000