rtld-elf - Don't pass -elf to the linker
authorAlex Hornung <ahornung@gmail.com>
Fri, 20 May 2011 09:53:06 +0000 (10:53 +0100)
committerAlex Hornung <ahornung@gmail.com>
Fri, 20 May 2011 09:55:07 +0000 (10:55 +0100)
commiteb70d94704a42668110755a5f7ade223d8176b9e
tree42333cc2417684fad789008bfe39d5fbd1aca87b
parent9d31de1503ccf1c4c1fc71e1135feccb353a3589
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.
libexec/rtld-elf/i386/Makefile.inc
libexec/rtld-elf/x86_64/Makefile.inc