git: rtld-elf - Don't pass -elf to the linker
Alex Hornung
alexh at crater.dragonflybsd.org
Fri May 20 02:56:07 PDT 2011
commit eb70d94704a42668110755a5f7ade223d8176b9e
Author: Alex Hornung <ahornung at 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
More information about the Commits
mailing list