ld: Fix failures in new orphan handling tests.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 7 Sep 2015 14:39:12 +0000 (15:39 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 7 Sep 2015 22:28:04 +0000 (23:28 +0100)
commit3d476d8d597a17afb05e5e33179c7ab95f9d0544
tree5bc5ad110042eebdef468587990249d0746309f1
parent72e0248351fdc4ab125a16af24df031bca2275e4
ld: Fix failures in new orphan handling tests.

The new orphan handling tests added in commit c005eb9 fail on a range of
targets.  Some of the failures were fixed in commit e32aa93 but 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.
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/orphan-7.map
ld/testsuite/ld-elf/orphan-8.map
ld/testsuite/ld-elf/orphan.ld