From 115bd0e857ea1a9761aabb2789da86632315a582 Mon Sep 17 00:00:00 2001 From: miod Date: Mon, 25 May 2015 12:12:42 +0000 Subject: [PATCH] Change ENTRY to __start to match binutils 2.15, needed for static PIE --- gnu/usr.bin/binutils-2.17/ld/emulparams/elf64alpha_obsd.sh | 1 + gnu/usr.bin/binutils-2.17/ld/emulparams/shelf_obsd.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.20.1