XCOFF ld testsuite fixes
authorAlan Modra <amodra@gmail.com>
Mon, 6 Jul 2020 06:45:35 +0000 (16:15 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 7 Jul 2020 08:56:34 +0000 (18:26 +0930)
commite553d5b2e775cf0c7c220ec4e132939768d152bc
tree3268779ca5df6f98982f374a511a8e8d78d15d80
parent231b7382c061721f291d850a7a075d47e97de13c
XCOFF ld testsuite fixes

* testsuite/ld-scripts/align.exp: Don't exclude xcoff.  Pass
-bnogc ld option for xcoff.
* testsuite/ld-scripts/provide.exp: Likewise.
* testsuite/ld-scripts/data.exp: Pass -bnogc ld option for xcoff.
* testsuite/ld-scripts/default-script.exp: Likewise.
* testsuite/ld-scripts/defined.exp: Likewise.
* testsuite/ld-scripts/empty-address.exp: Likewise.
* testsuite/ld-scripts/expr.exp: Likewise.
* testsuite/ld-scripts/include.exp: Likewise.
* testsuite/ld-scripts/script.exp: Likewise.
* testsuite/ld-scripts/assign-loc.d: Don't exclude xcoff.
* testsuite/ld-scripts/defined3.d: Likewise.
* testsuite/ld-scripts/defined4.d: Likewise.
* testsuite/ld-scripts/pr18963.d: Likewise.
* testsuite/ld-scripts/sane1.d: Likewise.
* testsuite/ld-scripts/segment-start.d: Likewise.
* testsuite/ld-scripts/include-1.d: Likewise, and relax text vma.
* testsuite/ld-scripts/defined5.d: Update xfail and comment.
* testsuite/ld-scripts/defined5.s: Tweak "defined" to be at
non-zero section offset.
* testsuite/ld-scripts/fill16.d: xfail for xcoff.
* testsuite/ld-scripts/provide-2.d: Accept more symbols.
* testsuite/ld-scripts/provide-4.d: Likewise.
* testsuite/ld-scripts/provide-5.d: Likewise.
* testsuite/ld-scripts/provide-6.d: Likewise.
* testsuite/ld-scripts/provide-7.d: Likewise.
* testsuite/ld-scripts/align.t: Accept xcoff mapped .text and .data.
* testsuite/ld-scripts/defined3.t: Likewise.
* testsuite/ld-scripts/defined4.t: Likewise.
* testsuite/ld-scripts/defined5.t: Likewise.
* testsuite/ld-scripts/fill.t: Likewise.
* testsuite/ld-scripts/include-subdata.t: Likewise.
* testsuite/ld-scripts/provide-1.t: Likewise.
* testsuite/ld-scripts/provide-2.t: Likewise.
* testsuite/ld-scripts/provide-3.t: Likewise.
* testsuite/ld-scripts/provide-4.t: Likewise.
* testsuite/ld-scripts/provide-5.t: Likewise.
* testsuite/ld-scripts/provide-6.t: Likewise.
* testsuite/ld-scripts/provide-7.t: Likewise.
* testsuite/ld-scripts/provide-8.t: Likewise.
* testsuite/ld-scripts/assign-loc.t: Add required xcoff sections.
* testsuite/ld-scripts/sizeof.t: Likewise.
* testsuite/ld-scripts/align2.t: Likewise, and mapped sections.
* testsuite/ld-scripts/align5.t: Likewise.
* testsuite/ld-scripts/default-script.t: Likewise.
* testsuite/ld-scripts/empty-address-1.t: Likewise.
* testsuite/ld-scripts/empty-address-2a.t: Likewise.
* testsuite/ld-scripts/empty-address-2b.t: Likewise.
* testsuite/ld-scripts/empty-address-3a.t: Likewise.
* testsuite/ld-scripts/empty-address-3b.t: Likewise.
* testsuite/ld-scripts/empty-address-3c.t: Likewise.
* testsuite/ld-scripts/include-sections.t: Likewise.
* testsuite/ld-scripts/pr14962.t: Likewise.
* testsuite/ld-scripts/sane1.t: Likewise.
53 files changed:
ld/ChangeLog
ld/testsuite/ld-scripts/align.exp
ld/testsuite/ld-scripts/align.t
ld/testsuite/ld-scripts/align2.t
ld/testsuite/ld-scripts/align5.t
ld/testsuite/ld-scripts/assign-loc.d
ld/testsuite/ld-scripts/assign-loc.t
ld/testsuite/ld-scripts/data.exp
ld/testsuite/ld-scripts/default-script.exp
ld/testsuite/ld-scripts/default-script.t
ld/testsuite/ld-scripts/defined.exp
ld/testsuite/ld-scripts/defined3.d
ld/testsuite/ld-scripts/defined3.t
ld/testsuite/ld-scripts/defined4.d
ld/testsuite/ld-scripts/defined4.t
ld/testsuite/ld-scripts/defined5.d
ld/testsuite/ld-scripts/defined5.s
ld/testsuite/ld-scripts/defined5.t
ld/testsuite/ld-scripts/empty-address-1.t
ld/testsuite/ld-scripts/empty-address-2a.t
ld/testsuite/ld-scripts/empty-address-2b.t
ld/testsuite/ld-scripts/empty-address-3a.t
ld/testsuite/ld-scripts/empty-address-3b.t
ld/testsuite/ld-scripts/empty-address-3c.t
ld/testsuite/ld-scripts/empty-address.exp
ld/testsuite/ld-scripts/expr.exp
ld/testsuite/ld-scripts/fill.t
ld/testsuite/ld-scripts/fill16.d
ld/testsuite/ld-scripts/include-1.d
ld/testsuite/ld-scripts/include-sections.t
ld/testsuite/ld-scripts/include-subdata.t
ld/testsuite/ld-scripts/include.exp
ld/testsuite/ld-scripts/pr14962.t
ld/testsuite/ld-scripts/pr18963.d
ld/testsuite/ld-scripts/provide-1.t
ld/testsuite/ld-scripts/provide-2.d
ld/testsuite/ld-scripts/provide-2.t
ld/testsuite/ld-scripts/provide-3.t
ld/testsuite/ld-scripts/provide-4.d
ld/testsuite/ld-scripts/provide-4.t
ld/testsuite/ld-scripts/provide-5.d
ld/testsuite/ld-scripts/provide-5.t
ld/testsuite/ld-scripts/provide-6.d
ld/testsuite/ld-scripts/provide-6.t
ld/testsuite/ld-scripts/provide-7.d
ld/testsuite/ld-scripts/provide-7.t
ld/testsuite/ld-scripts/provide-8.t
ld/testsuite/ld-scripts/provide.exp
ld/testsuite/ld-scripts/sane1.d
ld/testsuite/ld-scripts/sane1.t
ld/testsuite/ld-scripts/script.exp
ld/testsuite/ld-scripts/segment-start.d
ld/testsuite/ld-scripts/sizeof.t