From 6dee8798a802552ea6d67971fb8f17afe335d533 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Fri, 28 Jul 2023 06:00:36 +0100 Subject: 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 | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1