public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] MIPS/LD/testsuite: Fix `attr-gnu-4-10' failures with IRIX targets
@ 2023-07-28  5:06 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2023-07-28  5:06 UTC (permalink / raw)
  To: bfd-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d4e5281f03764a985b1229e9417a4fd1bebcea17

commit d4e5281f03764a985b1229e9417a4fd1bebcea17
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Fri Jul 28 06:00:36 2023 +0100

    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'.

Diff:
---
 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 8827e412707..0192d6fa650 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-28  5:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-28  5:06 [binutils-gdb] MIPS/LD/testsuite: Fix `attr-gnu-4-10' failures with IRIX targets Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).