aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-06-28 11:08:58 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-06-28 11:10:21 +0100
commit6c9a7fb62fcddbcafba8ab765e6fe190482c3d0a (patch)
tree637d8ccc18061adce15a560da522c1bfd782b6a2 /ld
parentd48796b5054fa2a9165bf3b3f27cc1cdfe8933a1 (diff)
downloadgdb-6c9a7fb62fcddbcafba8ab765e6fe190482c3d0a.zip
gdb-6c9a7fb62fcddbcafba8ab765e6fe190482c3d0a.tar.gz
gdb-6c9a7fb62fcddbcafba8ab765e6fe190482c3d0a.tar.bz2
MIPS/LD/testsuite: Accept any UNIX OS/ABI with GNU attribute tests
Remove failures with FreeBSD targets, e.g: regexp_diff match failure regexp "^ OS/ABI: UNIX - System V$" line " OS/ABI: UNIX - FreeBSD" FAIL: ld-mips-elf/attr-gnu-4-50 introduced with commit 351cdf24d223 ("[MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions"). ld/ * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI. * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise. * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise. * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/testsuite/ld-mips-elf/attr-gnu-4-10.d2
-rw-r--r--ld/testsuite/ld-mips-elf/attr-gnu-4-50.d2
-rw-r--r--ld/testsuite/ld-mips-elf/attr-gnu-4-60.d2
-rw-r--r--ld/testsuite/ld-mips-elf/attr-gnu-4-70.d2
5 files changed, 11 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c59fe65..79c495d 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,10 @@
+2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
+
+ * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
+ * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
+ * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
+ * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
+
2016-06-28 Alan Modra <amodra@gmail.com>
PR ld/20302
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 7dd45cf..e3a1c9c 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
@@ -8,7 +8,7 @@ ELF Header:
Class: ELF32
Data: 2's complement,.*
Version: 1 \(current\)
- OS/ABI: UNIX - System V
+ OS/ABI: UNIX - .*
ABI Version: 0
Type: REL \(Relocatable file\)
Machine: MIPS R3000
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d
index 651277d..5dc46d3 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d
@@ -8,7 +8,7 @@ ELF Header:
Class: ELF32
Data: 2's complement,.*
Version: 1 \(current\)
- OS/ABI: UNIX - System V
+ OS/ABI: UNIX - .*
ABI Version: 0
Type: REL \(Relocatable file\)
Machine: MIPS R3000
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d
index 80977a86..ea80c18 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d
@@ -8,7 +8,7 @@ ELF Header:
Class: ELF32
Data: 2's complement,.*
Version: 1 \(current\)
- OS/ABI: UNIX - System V
+ OS/ABI: UNIX - .*
ABI Version: 3
Type: REL \(Relocatable file\)
Machine: MIPS R3000
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d
index 3cd3250..edbd61f 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d
@@ -8,7 +8,7 @@ ELF Header:
Class: ELF32
Data: 2's complement,.*
Version: 1 \(current\)
- OS/ABI: UNIX - System V
+ OS/ABI: UNIX - .*
ABI Version: 3
Type: REL \(Relocatable file\)
Machine: MIPS R3000