This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] 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.
---
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]