[gas] fix expression crash

Alan Modra amodra@gmail.com
Thu May 13 06:44:00 GMT 2010


As the comment says.

	* gas/all/gas.exp: Don't run byte test on powerpc.

Index: gas/testsuite/gas/all/gas.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/gas.exp,v
retrieving revision 1.60
diff -u -p -r1.60 gas.exp
--- gas/testsuite/gas/all/gas.exp	5 May 2010 14:17:50 -0000	1.60
+++ gas/testsuite/gas/all/gas.exp	13 May 2010 06:33:48 -0000
@@ -329,7 +329,10 @@ if { ![istarget "tic4x*-*-*"] && ![istar
     run_dump_test relax
 }
 
-run_dump_test byte
+# powerpc allows a string argument to .byte
+if { ![istarget "powerpc*-*-*"] && ![istarget "rs6000*-*-*"] } {
+    run_dump_test byte
+}
 
 # .quad is 16 bytes on i960.
 if { ![istarget "i960-*-*"] } {

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list