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]

Fix SH gas testsuite invalid assembly exposed by ec9ab52c


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


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