[PATCH, RFC] Disable gas' cfi-common-6 test for MIPS

Thiemo Seufer ths@networkno.de
Thu Nov 9 12:59:00 GMT 2006


Hello All,

the new cfi-common-6 test fail on MIPS because it tests PC relative
expressions which aren't supported there.

Is there a better way to handle this?


Thiemo


2006-11-09  Thiemo Seufer  <ths@mips.com>

	* gas/cfi/cfi.exp: Don't run cfi-common-6 for mips*-*.


Index: gas/testsuite/gas/cfi/cfi.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/cfi/cfi.exp,v
retrieving revision 1.17
diff -u -p -r1.17 cfi.exp
--- gas/testsuite/gas/cfi/cfi.exp	3 Nov 2006 07:29:37 -0000	1.17
+++ gas/testsuite/gas/cfi/cfi.exp	9 Nov 2006 12:26:55 -0000
@@ -73,4 +73,8 @@ run_dump_test "cfi-common-2"
 run_dump_test "cfi-common-3"
 run_dump_test "cfi-common-4"
 run_dump_test "cfi-common-5"
-run_dump_test "cfi-common-6"
+
+# MIPS doesn't support PC relative cfi directives
+if { ![istarget "mips*-*"] } then {
+    run_dump_test "cfi-common-6"
+}



More information about the Binutils mailing list