diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-21 12:28:00 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-21 12:28:00 +0000 |
commit | 5966a62fbcc6d186d376d3daf023bcbeb63899e6 (patch) | |
tree | e17fb5a474fdec730154420b04725c15ea42b133 /gdb/testsuite/gdb.arch | |
parent | bb6ad750b0d2af3d1d263a19dd647d15cf4a2352 (diff) | |
download | gdb-5966a62fbcc6d186d376d3daf023bcbeb63899e6.tar.gz |
* gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
compiling test case with GCC.
* gdb.arch/altivec-regs.exp (compile_flags): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r-- | gdb/testsuite/gdb.arch/altivec-abi.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.arch/altivec-regs.exp | 2 |
2 files changed, 2 insertions, 2 deletions
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 { |