Browse Source
The new orphan handling tests added in commitusers/ARM/embedded-binutils-2_26-branchc005eb9fail on a range of targets. Some of the failures were fixed in commite32aa93but not all. This commit should address the remaining failures. Update results to account for orphan sections being placed in different orders, and for other, target specific sections, being discarded. ld/testsuite/ChangeLog: * ld-elf/orphan-7.map: Allow for other discarded sections. * ld-elf/orphan-8.map: Updated to allow for different section ordering on different targets. * ld-elf/orphan.ld: Place .sbss section.
4 changed files with 16 additions and 7 deletions
@ -1,7 +1,8 @@ |
|||
|
|||
#... |
|||
Discarded input sections |
|||
|
|||
#... |
|||
\.notbad 0x0+ 0x4 tmpdir/.*\.o |
|||
\.note\.bar 0x0+ 0x4 tmpdir/.*\.o |
|||
|
|||
#... |
|||
Linker script and memory map |
|||
#... |
|||
@ -1,7 +1,7 @@ |
|||
#... |
|||
.notbad 0x0+4 0x4 |
|||
.notbad 0x0+4 0x4 tmpdir/dump0.o |
|||
.notbad 0x[0-9a-f]+ 0x4 |
|||
.notbad 0x[0-9a-f]+ 0x4 tmpdir/dump0.o |
|||
#... |
|||
.note.bar 0x0+10 0x4 |
|||
.note.bar 0x0+10 0x4 tmpdir/dump0.o |
|||
.note.bar 0x[0-9a-f]+ 0x4 |
|||
.note.bar 0x[0-9a-f]+ 0x4 tmpdir/dump0.o |
|||
#... |
|||
|
|||
Loading…
Reference in new issue