aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-12-12 21:28:27 +1030
committerAlan Modra <amodra@gmail.com>2015-12-12 21:36:39 +1030
commitdafa877d360978c80c71ce6c64a4cbc29effdd10 (patch)
tree44279da21c385917cb957bd0e15e120528e00e31
parentb817670b52b7414d592cbfd96fd77cf725a33413 (diff)
downloadgdb-dafa877d360978c80c71ce6c64a4cbc29effdd10.zip
gdb-dafa877d360978c80c71ce6c64a4cbc29effdd10.tar.gz
gdb-dafa877d360978c80c71ce6c64a4cbc29effdd10.tar.bz2
Fix SH gas testsuite invalid assembly exposed by ec9ab52c
* gas/sh/tlsd.s: Use .tdata not .tbss. * gas/sh/tlsnopic.s: Likewise.
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/sh/tlsd.s2
-rw-r--r--gas/testsuite/gas/sh/tlsnopic.s2
3 files changed, 7 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index cd81f93..f288ca7 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-12 Alan Modra <amodra@gmail.com>
+
+ * gas/sh/tlsd.s: Use .tdata not .tbss.
+ * gas/sh/tlsnopic.s: Likewise.
+
2015-12-11 Matthew Wahab <matthew.wahab@arm.com>
* gas/aarch64/system-2.d: Enable the statistical profiling
diff --git a/gas/testsuite/gas/sh/tlsd.s b/gas/testsuite/gas/sh/tlsd.s
index 8bf4f4e..fd4f448 100644
--- a/gas/testsuite/gas/sh/tlsd.s
+++ b/gas/testsuite/gas/sh/tlsd.s
@@ -1,4 +1,4 @@
- .section .tbss,"awT",@nobits
+ .section .tdata,"awT",@progbits
.align 2
.global foo, bar
.hidden bar
diff --git a/gas/testsuite/gas/sh/tlsnopic.s b/gas/testsuite/gas/sh/tlsnopic.s
index 8f4d00b..fac00a0 100644
--- a/gas/testsuite/gas/sh/tlsnopic.s
+++ b/gas/testsuite/gas/sh/tlsnopic.s
@@ -1,4 +1,4 @@
- .section .tbss,"awT",@nobits
+ .section .tdata,"awT",@progbits
.align 2
.long foo
.text