Commit 46d1d0da by Janis Johnson Committed by Janis Johnson

* gcc.misc-tests/linkage.exp: Handle biarch GCC for powerpc64.

From-SVN: r90488
parent af980752
2004-11-11 Janis Johnson <janis187@us.ibm.com> 2004-11-11 Janis Johnson <janis187@us.ibm.com>
* gcc.misc-tests/linkage.exp: Handle biarch GCC for powerpc64.
* gcc.misc-tests/linkage.exp: Prepend directory name to pass/fail * gcc.misc-tests/linkage.exp: Prepend directory name to pass/fail
message, delete generated files, use more descriptive name for message, delete generated files, use more descriptive name for
executable, and make the test unsupported when it cannot be run. executable, and make the test unsupported when it cannot be run.
......
...@@ -63,6 +63,11 @@ if [isnative] then { ...@@ -63,6 +63,11 @@ if [isnative] then {
if [ string match "*ELF-64*" $file_string ] { if [ string match "*ELF-64*" $file_string ] {
set native_cflags "+DD64" set native_cflags "+DD64"
} }
} elseif [istarget "powerpc64*-*-linux*"] {
set file_string [exec file "linkage-x.o"]
if [ string match "*64-bit*" $file_string ] {
set native_cflags "-m64"
}
} }
if [file exists "linkage-y.o"] then { if [file exists "linkage-y.o"] then {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment