artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddad041
)
Unset SEPARATE_GOTPLT. We don't want a seperate .got.plt section on OpenBSD,
author
kettenis
<kettenis@openbsd.org>
Thu, 30 Apr 2015 17:56:18 +0000
(17:56 +0000)
committer
kettenis
<kettenis@openbsd.org>
Thu, 30 Apr 2015 17:56:18 +0000
(17:56 +0000)
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@
gnu/usr.bin/binutils-2.17/ld/emulparams/elf_obsd.sh
patch
|
blob
|
history
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
37e0d51
..
948506d
100644
(file)
--- 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