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
        message, delete generated files, use more descriptive name for
        executable, and make the test unsupported when it cannot be run.
 
            if [ string match "*ELF-64*" $file_string ] {
                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 {