diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-04-30 17:56:19 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-04-30 17:56:19 +0000 |
commit | 487a2bf22c49158f5bad2fb42df3ca94a04757a3 (patch) | |
tree | 51c57178fc695c06b4c7bdff95f15b739f7328fe /gnu/usr.bin/binutils-2.17/ld | |
parent | f527b97d9697fdb0ce6648b1ab5c9b53056f75ec (diff) |
Unset SEPARATE_GOTPLT. We don't want a seperate .got.plt section on OpenBSD,
at least for now, as it would result in a partially writable GOT. Our
ld.so(1) has the smarts to properly write-protect the single .got, so we
don't need this.
ok guenther@
Diffstat (limited to 'gnu/usr.bin/binutils-2.17/ld')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/ld/emulparams/elf_obsd.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf_obsd.sh b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf_obsd.sh index 37e0d51e8f5..948506df40a 100644 --- a/gnu/usr.bin/binutils-2.17/ld/emulparams/elf_obsd.sh +++ b/gnu/usr.bin/binutils-2.17/ld/emulparams/elf_obsd.sh @@ -6,3 +6,5 @@ RODATA_ALIGN=". = ALIGN(${RODATA_PADSIZE}) + (. & (${RODATA_PADSIZE} - 1))" PAD_GOT= PAD_PLT= DATA_START_SYMBOLS='__data_start = . ;' + +unset SEPARATE_GOTPLT |