* gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 21 Oct 2007 12:28:00 +0000 (12:28 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 21 Oct 2007 12:28:00 +0000 (12:28 +0000)
compiling test case with GCC.
* gdb.arch/altivec-regs.exp (compile_flags): Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/altivec-abi.exp
gdb/testsuite/gdb.arch/altivec-regs.exp

index 7f1a5e9d0d2050b3a783d99b40b6f053587e3b95..acc596c804f2054799e237f059a640ccf5d0981a 100644 (file)
@@ -1,3 +1,9 @@
+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
index ed4b5ac3fc654fdbae068c1490a71779d8c8b080..bdb7853831fb9a16390b36050cbdecda9e9c0652 100644 (file)
@@ -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 {
index 2e723e2b0d35cae985de1ebf1fbc270e1bd15fdd..828cbae93e0209f9f0f9693c94a4776f4c7c61c8 100644 (file)
@@ -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 {