diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-03-30 21:31:22 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-03-30 21:31:22 +0000 |
commit | 7897a0467aa68adfa04cef4f086e9a56bb3b9fdc (patch) | |
tree | 6a1e6010b21ce7284e58aa495eefe4a70a385c12 /gnu | |
parent | 3a1c4a6b68d8081dc9d6349835d9272123b867b7 (diff) |
Revert ppc/OpenBSD to the binutils 2.15 state, with only BSS_PLT and
disable secure 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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc_obsd.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc_obsd.sh b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc_obsd.sh index 63d838343a6..d15403925f1 100644 --- a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc_obsd.sh +++ b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf32ppc_obsd.sh @@ -1,2 +1,14 @@ -. ${srcdir}/emulparams/elf32ppc.sh +# . ${srcdir}/emulparams/elf32ppc.sh +. ${srcdir}/emulparams/elf32ppccommon.sh +## # Yes, we want duplicate .got and .plt sections. The linker chooses the +## # appropriate one magically in ppc_after_open +## DATA_GOT= +## SDATA_GOT= +## SEPARATE_GOTPLT=0 +BSS_PLT= +## GOT=".got ${RELOCATING-0} : SPECIAL { *(.got) }" +## PLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) }" +## GOTPLT="${PLT}" +## OTHER_TEXT_SECTIONS="*(.glink)" +## EXTRA_EM_FILE=ppc32elf . ${srcdir}/emulparams/elf_obsd.sh |