This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH, RFC] Disable gas' cfi-common-6 test for MIPS
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sources dot redhat dot com
- Date: Thu, 9 Nov 2006 12:59:02 +0000
- Subject: [PATCH, RFC] Disable gas' cfi-common-6 test for MIPS
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"
+}