git: rtld-elf - Don't pass -elf to the linker

看板DFBSD_commit作者時間14年前 (2011/05/20 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit eb70d94704a42668110755a5f7ade223d8176b9e Author: Alex Hornung <ahornung@gmail.com> Date: Fri May 20 10:53:06 2011 +0100 rtld-elf - Don't pass -elf to the linker * Don't pass -elf to the linker, only our binutils217 understands it. All others interpret it as using the symbol 'lf' as entry point. We didn't have a problem so far because the regular ld (bfd) falls back to a reasonable entry point (start of .text), but gold doesn't and falls back to 0. * This enables us to run world linked with gold. Summary of changes: libexec/rtld-elf/i386/Makefile.inc | 1 - libexec/rtld-elf/x86_64/Makefile.inc | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eb70d94704a42668110755a5f7ade223d8176b9e -- DragonFly BSD source repository
文章代碼(AID): #1DrZlY2p (DFBSD_commit)