OSDN Git Service

* 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 7f1a5e9..acc596c 100644 (file)
@@ -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.
 
index ed4b5ac..bdb7853 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 2e723e2..828cbae 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 {