Fix PR12763, .tbss mishandling

Alan Modra amodra@gmail.com
Mon May 23 05:30:00 GMT 2011


This fixes some fallout from my previous PR12763 patch.
hppa64-linux  +ERROR: /src/binutils-current/ld/testsuite/ld-elf/tdata3.s: assembly failed
The tdata3 test uses .tbss as well as .tdata.

ld/testsuite/
	* ld-elf/binutils.exp: Don't run tdata3 for hppa64.

Index: ld/testsuite/ld-elf/binutils.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/binutils.exp,v
retrieving revision 1.14
diff -u -p -r1.14 binutils.exp
--- ld/testsuite/ld-elf/binutils.exp	20 May 2011 15:33:29 -0000	1.14
+++ ld/testsuite/ld-elf/binutils.exp	23 May 2011 01:16:22 -0000
@@ -121,10 +121,10 @@ if { ([istarget "i?86-*-elf*"]		
 
 binutils_test strip "-T ${srcdir}/${subdir}/lma.lnk" lma
 
-set tls_tests { "tdata1" "tdata2" "tdata3" }
+set tls_tests { "tdata1" "tdata2" }
 # hppa64 has its own .tbss section, with different flags.
 if { ![istarget "hppa64-*-*"] } {
-    lappend tls_tests "tbss1" "tbss2" "tbss3"
+    lappend tls_tests "tdata3" "tbss1" "tbss2" "tbss3"
 }
 set tls_opts {
     ""

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list