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]

[PATCH 5/7] MIPS testsuite cleanup - part 5 (irix related)


This patch fixes issue solely shown by irix configurations. I'm
not convinced there is any value in continuing to have irix
support in binutils given it is end of life. I'll follow up with
an RFC to look at deprecation and removal of this. The same
goes for non-traditional output and emulations for MIPS although
I suspect that may be met with slightly more resistance.

Regards,
Matthew

ld/testsuite/

	* ld-mips-elf/abiflags-strip1-ph.d: Allow O32 or no abi.
	* ld-mips-elf/abiflags-strip2-ph.d: Likewise.
	* ld-mips-elf/abiflags-strip3-ph.d: Likewise.
	* ld-mips-elf/abiflags-strip4-ph.d: Likewise.
	* ld-mips-elf/abiflags-strip5-ph.d: Likewise.
	* ld-mips-elf/abiflags-strip6-ph.d: Likewise.
	* ld-mips-elf/abiflags-strip7-ph.d: Likewise.
	* ld-mips-elf/abiflags-strip8-ph.d: Likewise.
	* ld-mips-elf/abiflags-strip9-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-0-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-1-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-2-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-3-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-4-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-5-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-6-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-7-ph.d: Likewise.
	* ld-mips-elf/attr-gnu-4-10.d: Allow O32 or no abi and ignore section
	counts.
	* ld-mips-elf/attr-gnu-4-50.d: Likewise.
	* ld-mips-elf/attr-gnu-4-60.d: Likewise.
	* ld-mips-elf/attr-gnu-4-70.d: Likewise.
---
 ld/testsuite/ld-mips-elf/abiflags-strip1-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip2-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip3-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip4-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip5-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip6-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip7-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip8-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/abiflags-strip9-ph.d | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-0-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-1-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-10.d      | 4 ++--
 ld/testsuite/ld-mips-elf/attr-gnu-4-2-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-3-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-4-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-5-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-50.d      | 6 +++---
 ld/testsuite/ld-mips-elf/attr-gnu-4-6-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-60.d      | 6 +++---
 ld/testsuite/ld-mips-elf/attr-gnu-4-7-ph.d    | 2 +-
 ld/testsuite/ld-mips-elf/attr-gnu-4-70.d      | 6 +++---
 21 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip1-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip1-ph.d
index 2d437b3..8d0c74c 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip1-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip1-ph.d
@@ -9,5 +9,5 @@ Program Header:
 #...
 !0x70000003.*
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip2-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip2-ph.d
index 373aa07..35df2a0 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip2-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip2-ph.d
@@ -10,7 +10,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 808b1100: \[abi=O32\] \[mips64r2\] \[32bitmode\]
+private flags = 808b(1|0)100: \[(abi=O32|no abi set)\] \[mips64r2\] \[32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip3-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip3-ph.d
index 98a3c40..b9d0fec 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip3-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip3-ph.d
@@ -10,7 +10,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 808b1100: \[abi=O32\] \[mips64r2\] \[32bitmode\]
+private flags = 808b(1|0)100: \[(abi=O32|no abi set)\] \[mips64r2\] \[32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip4-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip4-ph.d
index 62f9fb9..b59aaec 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip4-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip4-ph.d
@@ -12,7 +12,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 8c8b1100: \[abi=O32\] \[mips64r2\] \[mdmx\] \[mips16\] \[32bitmode\]
+private flags = 8c8b(1|0)100: \[(abi=O32|no abi set)\] \[mips64r2\] \[mdmx\] \[mips16\] \[32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip5-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip5-ph.d
index 9381d46..70abae9 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip5-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip5-ph.d
@@ -12,7 +12,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 8c8b1100: \[abi=O32\] \[mips64r2\] \[mdmx\] \[mips16\] \[32bitmode\]
+private flags = 8c8b(1|0)100: \[(abi=O32|no abi set)\] \[mips64r2\] \[mdmx\] \[mips16\] \[32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip6-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip6-ph.d
index ef4c9ca..bfaf238 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip6-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip6-ph.d
@@ -10,7 +10,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip7-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip7-ph.d
index 9cb73c9..1ba6127 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip7-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip7-ph.d
@@ -10,7 +10,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip8-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip8-ph.d
index b2e1d5f..974cd78 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip8-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip8-ph.d
@@ -10,7 +10,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/abiflags-strip9-ph.d b/ld/testsuite/ld-mips-elf/abiflags-strip9-ph.d
index 7297927..4bb1c1e 100644
--- a/ld/testsuite/ld-mips-elf/abiflags-strip9-ph.d
+++ b/ld/testsuite/ld-mips-elf/abiflags-strip9-ph.d
@@ -10,7 +10,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-0-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-0-ph.d
index c3127d3..32837c8 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-0-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-0-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-1-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-1-ph.d
index dc1e5c7..0c41340 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-1-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-1-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
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 2775e4d..c03e1ba 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d
@@ -21,8 +21,8 @@ ELF Header:
   Size of program headers:           0 \(bytes\)
   Number of program headers:         0
   Size of section headers:           40 \(bytes\)
-  Number of section headers:         11
-  Section header string table index: 8
+  Number of section headers:         .*
+  Section header string table index: .*
 
 Attribute Section: gnu
 File Attributes
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-2-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-2-ph.d
index 0010520..bca604d 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-2-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-2-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-3-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-3-ph.d
index 6aa35d6..0ec393d 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-3-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-3-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-4-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-4-ph.d
index 3f0a1f6..ca65141 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-4-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-4-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001200: \[abi=O32\] \[mips32r2\] \[old fp64\] \[not 32bitmode\]
+private flags = 7000(1|0)200: \[(abi=O32|no abi set)\] \[mips32r2\] \[old fp64\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-5-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-5-ph.d
index 1b5616c..9dd67d3 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-5-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-5-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
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..5ced61f 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d
@@ -16,13 +16,13 @@ ELF Header:
   Entry point address:               0x0
   Start of program headers:          0 \(bytes into file\)
   Start of section headers:          ... \(bytes into file\)
-  Flags:                             0x70001000, o32, mips32r2
+  Flags:                             0x7000(1|0)000, (o32, |)mips32r2
   Size of this header:               52 \(bytes\)
   Size of program headers:           0 \(bytes\)
   Number of program headers:         0
   Size of section headers:           40 \(bytes\)
-  Number of section headers:         11
-  Section header string table index: 8
+  Number of section headers:         .*
+  Section header string table index: .*
 Attribute Section: gnu
 File Attributes
   Tag_GNU_MIPS_ABI_FP: Hard float \(32-bit CPU, Any FPU\)
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-6-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-6-ph.d
index 42545c8..0dce0fe 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-6-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-6-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
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..482548a 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d
@@ -16,13 +16,13 @@ ELF Header:
   Entry point address:               0x0
   Start of program headers:          0 \(bytes into file\)
   Start of section headers:          ... \(bytes into file\)
-  Flags:                             0x70001000, o32, mips32r2
+  Flags:                             0x7000(1|0)000, (o32, |)mips32r2
   Size of this header:               52 \(bytes\)
   Size of program headers:           0 \(bytes\)
   Number of program headers:         0
   Size of section headers:           40 \(bytes\)
-  Number of section headers:         11
-  Section header string table index: 8
+  Number of section headers:         .*
+  Section header string table index: .*
 Attribute Section: gnu
 File Attributes
   Tag_GNU_MIPS_ABI_FP: Hard float \(32-bit CPU, 64-bit FPU\)
diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-7-ph.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-7-ph.d
index ac4a0a8..f706f27 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-7-ph.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-7-ph.d
@@ -8,7 +8,7 @@ Program Header:
 0x70000003 off    0x0000.... vaddr 0x004000.. paddr 0x004000.. align 2\*\*3
          filesz 0x00000018 memsz 0x00000018 flags r--
 #...
-private flags = 70001000: \[abi=O32\] \[mips32r2\] \[not 32bitmode\]
+private flags = 7000(1|0)000: \[(abi=O32|no abi set)\] \[mips32r2\] \[not 32bitmode\]
 
 MIPS ABI Flags Version: 0
 
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..b76a3b8 100644
--- a/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d
+++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d
@@ -16,13 +16,13 @@ ELF Header:
   Entry point address:               0x0
   Start of program headers:          0 \(bytes into file\)
   Start of section headers:          ... \(bytes into file\)
-  Flags:                             0x70001000, o32, mips32r2
+  Flags:                             0x7000(1|0)000, (o32, |)mips32r2
   Size of this header:               52 \(bytes\)
   Size of program headers:           0 \(bytes\)
   Number of program headers:         0
   Size of section headers:           40 \(bytes\)
-  Number of section headers:         11
-  Section header string table index: 8
+  Number of section headers:         .*
+  Section header string table index: .*
 Attribute Section: gnu
 File Attributes
   Tag_GNU_MIPS_ABI_FP: Hard float compat \(32-bit CPU, 64-bit FPU\)
-- 
1.9.4


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