aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2023-07-28 06:00:36 +0100
committerMaciej W. Rozycki <macro@orcam.me.uk>2023-07-28 06:00:36 +0100
commitd4e5281f03764a985b1229e9417a4fd1bebcea17 (patch)
treebced37921a00feda39c758b64747cc475fc3ce9c /ld
parent94052ee4ccf0ac64b5f55da59878f13d567ef3cf (diff)
downloadbinutils-d4e5281f03764a985b1229e9417a4fd1bebcea17.zip
binutils-d4e5281f03764a985b1229e9417a4fd1bebcea17.tar.gz
binutils-d4e5281f03764a985b1229e9417a4fd1bebcea17.tar.bz2
MIPS/LD/testsuite: Fix `attr-gnu-4-10' failures with IRIX targets
IRIX targets do not enable the production of a `.pdr' section in GAS by default, which causes a failure with the `attr-gnu-4-10' test case due to a difference resulting in the number and indices of sections produced in linker output. As the presence or absence of this section is not relevant to this test case, just enable it unconditionally, fixing these regressions: mips-sgi-irix5 -FAIL: ld-mips-elf/attr-gnu-4-10 mips-sgi-irix6 -FAIL: ld-mips-elf/attr-gnu-4-10 ld/ * testsuite/ld-mips-elf/attr-gnu-4-10.d: Add `as' tag with `-mpdr'.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ld-mips-elf/attr-gnu-4-10.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
index 8827e41..0192d6f 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
@@ -1,5 +1,6 @@
#source: attr-gnu-4-1.s
#source: attr-gnu-4-0.s
+#as: -mpdr
#ld: -r
#readelf: -hA