This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[committed] MIPS/LD/testsuite: Accept any UNIX OS/ABI with GNU attribute tests
- From: "Maciej W. Rozycki" <macro at imgtec dot com>
- To: <binutils at sourceware dot org>
- Date: Tue, 28 Jun 2016 11:13:30 +0100
- Subject: [committed] MIPS/LD/testsuite: Accept any UNIX OS/ABI with GNU attribute tests
- Authentication-results: sourceware.org; auth=none
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.
---
binutils-mips-ld-test-attr-gnu-osabi.diff
Index: binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d 2016-06-21 23:50:53.969988141 +0100
+++ binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d 2016-06-21 23:51:46.812551227 +0100
@@ -8,7 +8,7 @@
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
Index: binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d 2016-06-21 23:56:03.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d 2016-06-21 23:56:48.042945372 +0100
@@ -8,7 +8,7 @@
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
Index: binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d 2016-06-21 23:56:03.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d 2016-06-21 23:56:50.596851451 +0100
@@ -8,7 +8,7 @@
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
Index: binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d 2016-06-21 23:56:03.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d 2016-06-21 23:56:52.989840339 +0100
@@ -8,7 +8,7 @@
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