ldscripts/empty-address vs. xcoff
authorAlan Modra <amodra@gmail.com>
Fri, 28 Jul 2023 03:36:17 +0000 (13:06 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 28 Jul 2023 04:41:40 +0000 (14:11 +0930)
commitb6dfdfde8864d2b6d45b58f8a0cbb9b6caa3939b
tree3984a2bfbcd74a8d7a66bc734f38fa14c1ba1193
parentd989e8dc6baa5cdca8d4153fe24df2759b8ea93a
ldscripts/empty-address vs. xcoff

The empty-address tests check that if a section is removed by ld due
to being empty then properties of that section don't affect following
addresses.  The xcoff backend doesn't remove the empty .data section
created by empty-address-2* and empty-address-3* for some reason, and
therefore fails the test.

* testsuite/ld-scripts/empty-address-1.d: Accept more symbols.
* testsuite/ld-scripts/empty-address-2a.d: xfail for xcoff.
* testsuite/ld-scripts/empty-address-2b.d: Likewise.
* testsuite/ld-scripts/empty-address-3a.d: Likewise.
* testsuite/ld-scripts/empty-address-3b.d: Likewise.
ld/testsuite/ld-scripts/empty-address-1.d
ld/testsuite/ld-scripts/empty-address-2a.d
ld/testsuite/ld-scripts/empty-address-2b.d
ld/testsuite/ld-scripts/empty-address-3a.d
ld/testsuite/ld-scripts/empty-address-3b.d