DragonFly BSD
DragonFly commits List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 20 May 2011 02:55:23 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]