summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-05-25 12:12:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-05-25 12:12:43 +0000
commit52fbbb0d25f58537e184cd6d2b300d0cdf091011 (patch)
tree9033077245399e935f3857abab8175da7ef27129 /gnu
parent578109e2ba007bf60faa5e8eae4c6855d9800baa (diff)
Change ENTRY to __start to match binutils 2.15, needed for static PIE
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh1
-rw-r--r--gnu/usr.bin/binutils-2.17/ld/emulparams/shelf_obsd.sh2
2 files changed, 2 insertions, 1 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 769786f5500..cbd6075c381 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
@@ -4,3 +4,4 @@ unset PLT
unset TEXT_PLT
DATA_PLT=
. ${srcdir}/emulparams/elf_obsd.sh
+ENTRY=__start
diff --git a/gnu/usr.bin/binutils-2.17/ld/emulparams/shelf_obsd.sh b/gnu/usr.bin/binutils-2.17/ld/emulparams/shelf_obsd.sh
index 03883ef4ab6..2fa0f7157dc 100644
--- a/gnu/usr.bin/binutils-2.17/ld/emulparams/shelf_obsd.sh
+++ b/gnu/usr.bin/binutils-2.17/ld/emulparams/shelf_obsd.sh
@@ -10,7 +10,7 @@ MAXPAGESIZE=0x10000
DATA_START_SYMBOLS='__data_start = . ;';
-ENTRY=_start
+ENTRY=__start
unset EMBEDDED
unset OTHER_SECTIONS