aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-21 12:28:00 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-21 12:28:00 +0000
commite7b1eae6839731ecd7d3150547b4b23b7db6556b (patch)
tree1acb55e5d63fe90751168b580cc230ac9fc147bf
parentc641edccb51ab8d4e86edd22b7098cad30a4452f (diff)
downloadgdb-e7b1eae6839731ecd7d3150547b4b23b7db6556b.zip
gdb-e7b1eae6839731ecd7d3150547b4b23b7db6556b.tar.gz
gdb-e7b1eae6839731ecd7d3150547b4b23b7db6556b.tar.bz2
* gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
compiling test case with GCC. * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.arch/altivec-abi.exp2
-rw-r--r--gdb/testsuite/gdb.arch/altivec-regs.exp2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 7f1a5e9..acc596c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,11 @@
2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+ * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
+ compiling test case with GCC.
+ * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
+
+2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
* gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.
diff --git a/gdb/testsuite/gdb.arch/altivec-abi.exp b/gdb/testsuite/gdb.arch/altivec-abi.exp
index ed4b5ac..bdb7853 100644
--- a/gdb/testsuite/gdb.arch/altivec-abi.exp
+++ b/gdb/testsuite/gdb.arch/altivec-abi.exp
@@ -48,7 +48,7 @@ if [get_compiler_info $binfile] {
}
if [test_compiler_info gcc*] {
- set compile_flags "$compile_flags additional_flags=-maltivec"
+ set compile_flags "$compile_flags additional_flags=-maltivec additional_flags=-mabi=altivec"
} elseif [test_compiler_info xlc*] {
set compile_flags "$compile_flags additional_flags=-qaltivec"
} else {
diff --git a/gdb/testsuite/gdb.arch/altivec-regs.exp b/gdb/testsuite/gdb.arch/altivec-regs.exp
index 2e723e2..828cbae 100644
--- a/gdb/testsuite/gdb.arch/altivec-regs.exp
+++ b/gdb/testsuite/gdb.arch/altivec-regs.exp
@@ -48,7 +48,7 @@ if [get_compiler_info $binfile] {
}
if [test_compiler_info gcc*] {
- set compile_flags "$compile_flags additional_flags=-maltivec"
+ set compile_flags "$compile_flags additional_flags=-maltivec additional_flags=-mabi=altivec"
} elseif [test_compiler_info xlc*] {
set compile_flags "$compile_flags additional_flags=-qaltivec"
} else {