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:
4
ld/testsuite/ld-scripts/empty-orphan.s
Normal file
4
ld/testsuite/ld-scripts/empty-orphan.s
Normal file
@@ -0,0 +1,4 @@
|
||||
.section .orphan_data, "a"
|
||||
# empty but defined
|
||||
.section .data
|
||||
.word 0x1111
|
||||
Reference in New Issue
Block a user