This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix SH gas testsuite invalid assembly exposed by ec9ab52c
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sat, 12 Dec 2015 21:41:29 +1030
- Subject: Fix SH gas testsuite invalid assembly exposed by ec9ab52c
- Authentication-results: sourceware.org; auth=none
Non-zero values are not valid in .tbss.
* gas/sh/tlsd.s: Use .tdata not .tbss.
* gas/sh/tlsnopic.s: Likewise.
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
--
Alan Modra
Australia Development Lab, IBM