forked from Imagelibrary/binutils-gdb
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:
3
ld/testsuite/ld-scripts/empty-orphan.d
Normal file
3
ld/testsuite/ld-scripts/empty-orphan.d
Normal file
@@ -0,0 +1,3 @@
|
||||
#source: empty-orphan.s
|
||||
#ld: -T empty-orphan.t
|
||||
#error: no memory region specified for loadable section
|
||||
Reference in New Issue
Block a user