summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-03-30 21:46:21 +0000
committermiod <miod@openbsd.org>2013-03-30 21:46:21 +0000
commitc54f70c6c4b2816157659a97c629f0de22d4251c (patch)
tree90c9ef13d28b329854b2a5fb976a3e65f85ed2bc
parentRevert ppc/OpenBSD to the binutils 2.15 state, with only BSS_PLT and (diff)
downloadwireguard-openbsd-c54f70c6c4b2816157659a97c629f0de22d4251c.tar.xz
wireguard-openbsd-c54f70c6c4b2816157659a97c629f0de22d4251c.zip
Revert alpha/OpenBSD to the binutils 2.15 state, with only DATA_PLT and
disable readonly plt. This lets a binutils 2.17 toolchain produce working binaries, until a working way to get proper padding sections (and boundary symbols) emitted with proper value once .plt position is decided is found, when .plt can exist at multiple places in the binary.
-rw-r--r--gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh
index d41f5e7814a..769786f5500 100644
--- a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh
+++ b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh
@@ -1,2 +1,6 @@
. ${srcdir}/emulparams/elf64alpha.sh
+# XXX for now, until we can support late PLT placement
+unset PLT
+unset TEXT_PLT
+DATA_PLT=
. ${srcdir}/emulparams/elf_obsd.sh