* gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when

compiling test case with GCC.
	* gdb.arch/altivec-regs.exp (compile_flags): Likewise.
This commit is contained in:
Ulrich Weigand 2007-10-21 12:28:00 +00:00
parent c641edccb5
commit e7b1eae683
3 changed files with 8 additions and 2 deletions

View 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

View 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 {

View 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 {