From: Ulrich Weigand Date: Sun, 21 Oct 2007 12:28:00 +0000 (+0000) Subject: * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7b1eae6839731ecd7d3150547b4b23b7db6556b;p=binutils-gdb.git * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when compiling test case with GCC. * gdb.arch/altivec-regs.exp (compile_flags): Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7f1a5e9d0d2..acc596c804f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-10-21 Ulrich Weigand + + * 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 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output diff --git a/gdb/testsuite/gdb.arch/altivec-abi.exp b/gdb/testsuite/gdb.arch/altivec-abi.exp index ed4b5ac3fc6..bdb7853831f 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 2e723e2b0d3..828cbae93e0 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 {