* scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
authorHans-Peter Nilsson <hp@axis.com>
Wed, 29 Jul 2009 00:25:22 +0000 (00:25 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 29 Jul 2009 00:25:22 +0000 (00:25 +0000)
commit18c32df5b44a1b3e6a5e9600c9a4c4bd731d24f2
treeb5e0b344047f0182d994a4f5de38d0af3cc26a39
parent45de461e3b099c6d9df280103e338c0eb027831c
* scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
(OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
(ENTRY): Don't emit for relocateable links.
(/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
* emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
elf64-mmix.
* emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
provide "Main" or set "_start.", for relocateable links.
ld/ChangeLog
ld/emulparams/elf64mmix.sh
ld/emulparams/mmo.sh
ld/scripttempl/mmo.sc