aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorMatthew Fortune <matthew.fortune@imgtec.com>2014-09-02 08:25:23 +0100
committerMatthew Fortune <matthew.fortune@imgtec.com>2014-09-06 17:58:37 +0100
commitb38b83dc8523d21c7648e706dc0245b4595b44b3 (patch)
treef5b58daad53739121038db35d3e989dbc5844b0e /gas
parent1a52a81ccd124db93f1124c0ac3325888ead4e9c (diff)
downloadgdb-b38b83dc8523d21c7648e706dc0245b4595b44b3.zip
gdb-b38b83dc8523d21c7648e706dc0245b4595b44b3.tar.gz
gdb-b38b83dc8523d21c7648e706dc0245b4595b44b3.tar.bz2
MIPS testsuite cleanup - part 1
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog12
-rw-r--r--gas/testsuite/gas/elf/type.e14
-rw-r--r--gas/testsuite/gas/mips/mips16-e.d7
-rw-r--r--gas/testsuite/gas/mips/mips16-f.d7
-rw-r--r--gas/testsuite/gas/mips/mipsel16-e.d7
-rw-r--r--gas/testsuite/gas/mips/mipsel16-f.d7
-rw-r--r--gas/testsuite/gas/mips/tmips16-e.d4
-rw-r--r--gas/testsuite/gas/mips/tmips16-f.d4
-rw-r--r--gas/testsuite/gas/mips/tmipsel16-e.d4
-rw-r--r--gas/testsuite/gas/mips/tmipsel16-f.d4
10 files changed, 55 insertions, 15 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 1830561..3802eaa 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,15 @@
+2014-09-06 Matthew Fortune <matthew.fortune@imgtec.com>
+
+ * 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.
+
2014-09-04 Matthew Fortune <matthew.fortune@imgtec.com>
* gas/mips/mips.exp: Add mipsisa32 and mipsisa32el to
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:
.*