This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 1/7] MIPS testsuite cleanup - part 1
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Richard Sandiford <rdsandiford at googlemail dot com>
- Date: Fri, 5 Sep 2014 15:03:18 +0000
- Subject: [PATCH 1/7] MIPS testsuite cleanup - part 1
- Authentication-results: sourceware.org; auth=none
This patch updates non-traditional output in the same manner as
traditional output was updated in the FPXX patch.
Thanks,
Matthew
binutils/testsuite/
* binutils-all/readelf.ss-mips: Account for new sections.
gas/testsuite/
* gas/elf/type.e: Account for new sections.
* gas/mips/mips16-e.d: Likewise.
* gas/mips/mips16-f.d: Likewise.
* gas/mips/mipsel16-e.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/tmips16-e.d: Appropriately escape dots.
* gas/mips/tmips16-f.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
* gas/mips/tmipsel16-f.d: Likewise.
---
binutils/testsuite/binutils-all/readelf.ss-mips | 18 ++++++++++--------
gas/testsuite/gas/elf/type.e | 14 +++++++-------
gas/testsuite/gas/mips/mips16-e.d | 7 +++++++
gas/testsuite/gas/mips/mips16-f.d | 7 +++++++
gas/testsuite/gas/mips/mipsel16-e.d | 7 +++++++
gas/testsuite/gas/mips/mipsel16-f.d | 7 +++++++
gas/testsuite/gas/mips/tmips16-e.d | 4 ++--
gas/testsuite/gas/mips/tmips16-f.d | 4 ++--
gas/testsuite/gas/mips/tmipsel16-e.d | 4 ++--
gas/testsuite/gas/mips/tmipsel16-f.d | 4 ++--
10 files changed, 53 insertions(+), 23 deletions(-)
diff --git a/binutils/testsuite/binutils-all/readelf.ss-mips b/binutils/testsuite/binutils-all/readelf.ss-mips
index fd97552..01d3df1 100644
--- a/binutils/testsuite/binutils-all/readelf.ss-mips
+++ b/binutils/testsuite/binutils-all/readelf.ss-mips
@@ -1,15 +1,17 @@
-Symbol table '.symtab' contains 12 entries:
+Symbol table '.symtab' contains 14 entries:
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
+0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND
+1: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.text)
+2: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.data)
+3: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.bss)
+4: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.reginfo)
- +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.pdr)
- +6: 00000000 +0 +OBJECT +GLOBAL +DEFAULT +. text_symbol
- +7: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +. static_text_symbol
- +8: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND external_symbol
- +9: 00000000 +0 +OBJECT +GLOBAL +DEFAULT +. data_symbol
- +10: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +. static_data_symbol
- +11: 00000004 +4 +(COMMON|OBJECT) +GLOBAL +DEFAULT +(PRC|COM) common_symbol
+ +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.MIPS\.abiflags)
+ +6: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.pdr)
+ +7: 00000000 +0 +SECTION +LOCAL +DEFAULT +. (|\.gnu\.attributes)
+ +8: 00000000 +0 +OBJECT +GLOBAL +DEFAULT +. text_symbol
+ +9: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +. static_text_symbol
+ +10: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND external_symbol
+ +11: 00000000 +0 +OBJECT +GLOBAL +DEFAULT +. data_symbol
+ +12: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +. static_data_symbol
+ +13: 00000004 +4 +(COMMON|OBJECT) +GLOBAL +DEFAULT +(PRC|COM) common_symbol
diff --git a/gas/testsuite/gas/elf/type.e b/gas/testsuite/gas/elf/type.e
index fbc9aac..a1159bf 100644
--- a/gas/testsuite/gas/elf/type.e
+++ b/gas/testsuite/gas/elf/type.e
@@ -1,7 +1,7 @@
- +.: 0+0 +1 +FUNC +LOCAL +DEFAULT +. function
- +.: 0+1 +1 +IFUNC +LOCAL +DEFAULT +. indirect_function
- +.: 0+0 +1 +OBJECT +LOCAL +DEFAULT +. object
- +.: 0+1 +1 +TLS +LOCAL +DEFAULT +. tls_object
- +..: 0+2 +1 +NOTYPE +LOCAL +DEFAULT +. notype
- +..: 0+3 +1 +OBJECT +UNIQUE +DEFAULT +. unique_global
- +..: 0+1 +1 +(COMMON|OBJECT) +GLOBAL +DEFAULT +COM common
+ +.+: 0+0 +1 +FUNC +LOCAL +DEFAULT +. function
+ +.+: 0+1 +1 +IFUNC +LOCAL +DEFAULT +. indirect_function
+ +.+: 0+0 +1 +OBJECT +LOCAL +DEFAULT +. object
+ +.+: 0+1 +1 +TLS +LOCAL +DEFAULT +. tls_object
+ +.+: 0+2 +1 +NOTYPE +LOCAL +DEFAULT +. notype
+ +.+: 0+3 +1 +OBJECT +UNIQUE +DEFAULT +. unique_global
+ +.+: 0+1 +1 +(COMMON|OBJECT) +GLOBAL +DEFAULT +COM common
diff --git a/gas/testsuite/gas/mips/mips16-e.d b/gas/testsuite/gas/mips/mips16-e.d
index 15e5587d..09b193c 100644
--- a/gas/testsuite/gas/mips/mips16-e.d
+++ b/gas/testsuite/gas/mips/mips16-e.d
@@ -12,7 +12,9 @@ SYMBOL TABLE:
0+0000000 l d \.bss 0+0000000 (|\.bss)
0+0000000 l d foo 0+0000000 (|foo)
0+0000000 l d \.reginfo 0+0000000 (|\.reginfo)
+0+0000000 l d \.MIPS\.abiflags 0+0000000 (|\.MIPS\.abiflags)
0+0000000 l d \.(mdebug|pdr) 0+0000000 (|\.mdebug|\.pdr)
+0+0000000 l d \.gnu\.attributes 0+0000000 (|\.gnu\.attributes)
0+0000002 l \.text 0+0000000 0xf0 l1
0+0000004 l \.text 0+0000000 0xf0 \.L1.1
0+0000000 \*UND\* 0+0000000 g1
@@ -33,6 +35,11 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00010000 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
+Contents of section \.MIPS\.abiflags:
+ .*
+ .*
Contents of section foo:
0000 00000000 00000008 00000000 00000003 .*
0010 00000000 00000008 00000000 00000000 .*
+Contents of section \.gnu\.attributes:
+ .*
diff --git a/gas/testsuite/gas/mips/mips16-f.d b/gas/testsuite/gas/mips/mips16-f.d
index 9a2ce3b..6ca5bb9 100644
--- a/gas/testsuite/gas/mips/mips16-f.d
+++ b/gas/testsuite/gas/mips/mips16-f.d
@@ -12,7 +12,9 @@ SYMBOL TABLE:
0+0000000 l d \.bss 0+0000000 (|\.bss)
0+0000000 l d foo 0+0000000 (|foo)
0+0000000 l d \.reginfo 0+0000000 (|\.reginfo)
+0+0000000 l d \.MIPS\.abiflags 0+0000000 (|\.MIPS\.abiflags)
0+0000000 l d \.(mdebug|pdr) 0+0000000 (|\.mdebug|\.pdr)
+0+0000000 l d \.gnu\.attributes 0+0000000 (|\.gnu\.attributes)
0+0000002 l \.text 0+0000000 0xf0 l1
@@ -26,5 +28,10 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00010000 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
+Contents of section \.MIPS\.abiflags:
+ .*
+ .*
Contents of section foo:
0000 00000003 00000000 00000000 00000000 .*
+Contents of section \.gnu\.attributes:
+ .*
diff --git a/gas/testsuite/gas/mips/mipsel16-e.d b/gas/testsuite/gas/mips/mipsel16-e.d
index eaff6d8..2686e2c 100644
--- a/gas/testsuite/gas/mips/mipsel16-e.d
+++ b/gas/testsuite/gas/mips/mipsel16-e.d
@@ -13,7 +13,9 @@ SYMBOL TABLE:
0+0000000 l d \.bss 0+0000000 (|\.bss)
0+0000000 l d foo 0+0000000 (|foo)
0+0000000 l d \.reginfo 0+0000000 (|\.reginfo)
+0+0000000 l d \.MIPS\.abiflags 0+0000000 (|\.MIPS\.abiflags)
0+0000000 l d \.(mdebug|pdr) 0+0000000 (|\.mdebug|\.pdr)
+0+0000000 l d \.gnu\.attributes 0+0000000 (|\.gnu\.attributes)
0+0000002 l \.text 0+0000000 0xf0 l1
0+0000004 l \.text 0+0000000 0xf0 \.L1.1
0+0000000 \*UND\* 0+0000000 g1
@@ -34,6 +36,11 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00000100 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
+Contents of section \.MIPS\.abiflags:
+ .*
+ .*
Contents of section foo:
0000 00000000 08000000 00000000 03000000 .*
0010 00000000 08000000 00000000 00000000 .*
+Contents of section \.gnu\.attributes:
+ .*
diff --git a/gas/testsuite/gas/mips/mipsel16-f.d b/gas/testsuite/gas/mips/mipsel16-f.d
index 8c1e2ea..21756bd 100644
--- a/gas/testsuite/gas/mips/mipsel16-f.d
+++ b/gas/testsuite/gas/mips/mipsel16-f.d
@@ -13,7 +13,9 @@ SYMBOL TABLE:
0+0000000 l d \.bss 0+0000000 (|\.bss)
0+0000000 l d foo 0+0000000 (|foo)
0+0000000 l d \.reginfo 0+0000000 (|\.reginfo)
+0+0000000 l d \.MIPS\.abiflags 0+0000000 (|\.MIPS\.abiflags)
0+0000000 l d \.(mdebug|pdr) 0+0000000 (|\.mdebug|\.pdr)
+0+0000000 l d \.gnu\.attributes 0+0000000 (|\.gnu\.attributes)
0+0000002 l \.text 0+0000000 0xf0 l1
@@ -27,5 +29,10 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00000100 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
+Contents of section \.MIPS\.abiflags:
+ .*
+ .*
Contents of section foo:
0000 03000000 00000000 00000000 00000000 .*
+Contents of section \.gnu\.attributes:
+ .*
diff --git a/gas/testsuite/gas/mips/tmips16-e.d b/gas/testsuite/gas/mips/tmips16-e.d
index 708ff11..f4d1ae4 100644
--- a/gas/testsuite/gas/mips/tmips16-e.d
+++ b/gas/testsuite/gas/mips/tmips16-e.d
@@ -36,11 +36,11 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00010000 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
-Contents of section .MIPS.abiflags:
+Contents of section \.MIPS\.abiflags:
.*
.*
Contents of section foo:
0000 00000000 00000008 00000000 00000003 .*
0010 00000000 00000008 00000000 00000000 .*
-Contents of section .gnu.attributes:
+Contents of section \.gnu\.attributes:
.*
diff --git a/gas/testsuite/gas/mips/tmips16-f.d b/gas/testsuite/gas/mips/tmips16-f.d
index 057122c..cb09276 100644
--- a/gas/testsuite/gas/mips/tmips16-f.d
+++ b/gas/testsuite/gas/mips/tmips16-f.d
@@ -29,10 +29,10 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00010000 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
-Contents of section .MIPS.abiflags:
+Contents of section \.MIPS\.abiflags:
.*
.*
Contents of section foo:
0000 00000003 00000000 00000000 00000000 .*
-Contents of section .gnu.attributes:
+Contents of section \.gnu\.attributes:
.*
diff --git a/gas/testsuite/gas/mips/tmipsel16-e.d b/gas/testsuite/gas/mips/tmipsel16-e.d
index 839446b..ad3f3fa 100644
--- a/gas/testsuite/gas/mips/tmipsel16-e.d
+++ b/gas/testsuite/gas/mips/tmipsel16-e.d
@@ -36,11 +36,11 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00000100 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
-Contents of section .MIPS.abiflags:
+Contents of section \.MIPS\.abiflags:
.*
.*
Contents of section foo:
0000 00000000 08000000 00000000 03000000 .*
0010 00000000 08000000 00000000 00000000 .*
-Contents of section .gnu.attributes:
+Contents of section \.gnu\.attributes:
.*
diff --git a/gas/testsuite/gas/mips/tmipsel16-f.d b/gas/testsuite/gas/mips/tmipsel16-f.d
index edc6068..503f8be 100644
--- a/gas/testsuite/gas/mips/tmipsel16-f.d
+++ b/gas/testsuite/gas/mips/tmipsel16-f.d
@@ -29,10 +29,10 @@ Contents of section \.text:
Contents of section \.reginfo:
0000 00000100 00000000 00000000 00000000 .*
0010 00000000 00000000 .*
-Contents of section .MIPS.abiflags:
+Contents of section \.MIPS\.abiflags:
.*
.*
Contents of section foo:
0000 03000000 00000000 00000000 00000000 .*
-Contents of section .gnu.attributes:
+Contents of section \.gnu\.attributes:
.*
--
1.9.4