diff options
author | Alan Modra <amodra@gmail.com> | 2010-11-18 06:57:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-11-18 06:57:57 +0000 |
commit | 99753d9d70bc219217ea4045eebf8ecb778720ac (patch) | |
tree | 40c7bd56631b2d80597620f1fc8ffc637fab6b41 /ld/testsuite/ld-elfweak | |
parent | bd0d264f1b72b28240dfcf64e10bade5f8cfec37 (diff) | |
download | binutils-99753d9d70bc219217ea4045eebf8ecb778720ac.zip binutils-99753d9d70bc219217ea4045eebf8ecb778720ac.tar.gz binutils-99753d9d70bc219217ea4045eebf8ecb778720ac.tar.bz2 |
* ld-elf/binutils.exp: Correct x86 gnu target match.
* ld-i386/i386.exp: Likewise.
* ld-ifunc/binutils.exp: Likewise.
* ld-ifunc/ifunc.exp: Likewise.
* ld-discard/discard.exp: Remove unnecessary line continuations.
* ld-elfvers/vers.exp: Likewise. Simplify linuxaout and linuxoldld
test.
* ld-elfweak/elfweak.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfweak')
-rw-r--r-- | ld/testsuite/ld-elfweak/elfweak.exp | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/ld/testsuite/ld-elfweak/elfweak.exp b/ld/testsuite/ld-elfweak/elfweak.exp index 3854e64..e6d4d6f 100644 --- a/ld/testsuite/ld-elfweak/elfweak.exp +++ b/ld/testsuite/ld-elfweak/elfweak.exp @@ -29,33 +29,32 @@ if ![isnative] then {return} # This test can only be run on a couple of ELF platforms. # Square bracket expressions seem to confuse istarget. # This is similar to the test that is used in ld-shared, BTW. -if { ![istarget alpha*-*-linux*] \ - && ![istarget arm*-*-linux*] \ - && ![istarget hppa*64*-*-hpux*] \ - && ![istarget hppa*-*-linux*] \ - && ![istarget i?86-*-sysv4*] \ - && ![istarget i?86-*-unixware] \ - && ![istarget i?86-*-elf*] \ - && ![istarget i?86-*-linux*] \ - && ![istarget i?86-*-gnu*] \ - && ![istarget ia64-*-elf*] \ - && ![istarget ia64-*-linux*] \ - && ![istarget m68k-*-linux*] \ - && ![istarget mips*-*-irix5*] \ - && ![istarget mips*-*-linux*] \ - && ![istarget powerpc*-*-elf*] \ - && ![istarget powerpc*-*-linux*] \ - && ![istarget powerpc*-*-sysv4*] \ - && ![istarget sh\[34\]*-*-linux*] \ - && ![istarget sparc*-*-elf] \ - && ![istarget sparc*-*-solaris2*] \ +if { ![istarget alpha*-*-linux*] + && ![istarget arm*-*-linux*] + && ![istarget hppa*64*-*-hpux*] + && ![istarget hppa*-*-linux*] + && ![istarget i?86-*-sysv4*] + && ![istarget i?86-*-unixware] + && ![istarget i?86-*-elf*] + && ![istarget i?86-*-linux*] + && ![istarget i?86-*-gnu*] + && ![istarget ia64-*-elf*] + && ![istarget ia64-*-linux*] + && ![istarget m68k-*-linux*] + && ![istarget mips*-*-irix5*] + && ![istarget mips*-*-linux*] + && ![istarget powerpc*-*-elf*] + && ![istarget powerpc*-*-linux*] + && ![istarget powerpc*-*-sysv4*] + && ![istarget sh\[34\]*-*-linux*] + && ![istarget sparc*-*-elf] + && ![istarget sparc*-*-solaris2*] && ![istarget sparc*-*-linux*] } { return } -if { [istarget i?86-*-linux*aout*] \ - || [istarget i?86-*-linux*oldld*] \ - || [istarget m68k-*-linux*aout*] } { +if { [istarget *-*-linux*aout*] + || [istarget *-*-linux*oldld*] } { return } @@ -304,7 +303,7 @@ proc build_lib {test libname objs dynsymexp} { return } - if {![string match "" $dynsymexp] \ + if {![string match "" $dynsymexp] && ![objdump_dynsymstuff $objdump $tmpdir/$libname.so $srcdir/$subdir/$dynsymexp]} { fail $test return @@ -382,9 +381,9 @@ if [istarget mips*-*-*] { catch "exec $CC $picflag" exec_output send_log "$exec_output\n" verbose "--" "$exec_output" - if { [string match "*illegal option*" $exec_output] \ - || [string match "*option ignored*" $exec_output] \ - || [string match "*unrecognized option*" $exec_output] \ + if { [string match "*illegal option*" $exec_output] + || [string match "*option ignored*" $exec_output] + || [string match "*unrecognized option*" $exec_output] || [string match "*passed to ld*" $exec_output] } { if [istarget *-*-sunos4*] { set picflag "-pic" |