From: miod Date: Mon, 25 May 2015 12:12:42 +0000 (+0000) Subject: Change ENTRY to __start to match binutils 2.15, needed for static PIE X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=115bd0e857ea1a9761aabb2789da86632315a582;p=openbsd Change ENTRY to __start to match binutils 2.15, needed for static PIE --- 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