ld/ChangeLog:

* ldlang.c (IGNORE_SECTION): Remove check for zero size.
        (lang_check_section_addresses): Ignore zero size sections here.
ld/testsuite/ChangeLog:
        * ld-scripts/empty-orphan.d, ld-scripts/empty-orphan.exp,
        ld-scripts/empty-orphan.s, ld-scripts/emtpy-orphan.t: New test.
This commit is contained in:
Bob Wilson
2005-03-17 16:20:39 +00:00
parent 2115ce97f8
commit de7f8cc8e0
7 changed files with 70 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
#source: empty-orphan.s
#ld: -T empty-orphan.t
#error: no memory region specified for loadable section