ld:
authorZack Weinberg <zackw@panix.com>
Wed, 1 Jun 2005 04:04:19 +0000 (04:04 +0000)
committerZack Weinberg <zackw@panix.com>
Wed, 1 Jun 2005 04:04:19 +0000 (04:04 +0000)
commita359509ed39f8affc5f3e995b57d7611edfbb59d
treecea3b01c4597471699599bfb337a20439ee2071b
parent7b8f476a17b961ff3d26cf02c8ea0d1da26ff5e6
ld:
* ldlang.c (entry_symbol_default): New file-scope global.
(lang_finish): Use it, not a hardwired "start".
(lang_default_entry): Set it.
* ldlang.h: Declare lang_default_entry.
* emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
not lang_add_entry, to override default entry point symbol.

ld/testsuite:
* ld-scripts/align.exp: Mark align1 XFAIL on PECOFF targets.
* ld-scripts/data.exp: Mark data UNSUPPORTED on a.out targets.
* ld-scripts/provide.exp, ld-scripts/size.exp: Mark all tests
UNSUPPORTED on a.out targets.  Tidy.
ld/ChangeLog
ld/emultempl/beos.em
ld/emultempl/pe.em
ld/ldlang.c
ld/ldlang.h
ld/testsuite/ChangeLog
ld/testsuite/ld-scripts/align.exp
ld/testsuite/ld-scripts/data.exp
ld/testsuite/ld-scripts/provide.exp
ld/testsuite/ld-scripts/size.exp