]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
MIPS/LD/testsuite: Fix `attr-gnu-4-10' failures with IRIX targets
authorMaciej W. Rozycki <macro@orcam.me.uk>
Fri, 28 Jul 2023 05:00:36 +0000 (06:00 +0100)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Fri, 28 Jul 2023 05:01:22 +0000 (06:01 +0100)
commit6dee8798a802552ea6d67971fb8f17afe335d533
treec9e10b8acaf82b6c901c6460384e4b0463fca990
parent28e76b82908470708453df2572c51d25441192e3
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'.

(cherry picked from commit d4e5281f03764a985b1229e9417a4fd1bebcea17)
ld/testsuite/ld-mips-elf/attr-gnu-4-10.d