diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-03-31 06:37:39 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-03-31 06:37:39 +0000 |
commit | 69e37bf6a2178f46c52f5e9d1e607a2067ec2c8b (patch) | |
tree | a9d440e8a7b7fb8043e8d1914ff052005770197a /binutils/testsuite/binutils-all/readelf.exp | |
parent | e58d53afc0fdc341ae26bf42cf63f81fd95d35a2 (diff) | |
download | gdb-69e37bf6a2178f46c52f5e9d1e607a2067ec2c8b.zip gdb-69e37bf6a2178f46c52f5e9d1e607a2067ec2c8b.tar.gz gdb-69e37bf6a2178f46c52f5e9d1e607a2067ec2c8b.tar.bz2 |
2001-03-30 H.J. Lu <hjl@gnu.org>
* binutils-all/readelf.exp: Run on more ELF targets.
Diffstat (limited to 'binutils/testsuite/binutils-all/readelf.exp')
-rw-r--r-- | binutils/testsuite/binutils-all/readelf.exp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/binutils/testsuite/binutils-all/readelf.exp b/binutils/testsuite/binutils-all/readelf.exp index 1123df4..bd00da0 100644 --- a/binutils/testsuite/binutils-all/readelf.exp +++ b/binutils/testsuite/binutils-all/readelf.exp @@ -218,7 +218,20 @@ proc readelf_test { options binary_file regexp_file xfails } { # For now be paranoid and assume that if ELF is not mentioned # in the target string, then the target is not an ELF based port. -if ![istarget "*-*elf"] then { +if { ![istarget *-*-elf*] \ + && ![istarget *-*-linux*] \ + && ![istarget i?86-*-sysv4*] \ + && ![istarget i?86-*-unixware] \ + && ![istarget mips*-*-irix5*] \ + && ![istarget mips*-*-irix6*] \ + && ![istarget powerpc-*-sysv4*] \ + && ![istarget sparc*-*-solaris2*] } { + verbose "$READELF is only intended for ELF targets" 2 + return +} + +if { [istarget *-*-linuxoldld*] \ + || [istarget *-*-linuxaout*] } { verbose "$READELF is only intended for ELF targets" 2 return } @@ -270,4 +283,4 @@ if [is_remote host] { # The xfail targets here do not default to DWARF2 format debug information # The symptom is that the output of 'readelf -wi' is empty. -readelf_test -wi $tempfile readelf.wi {v850*-*-* cris-*-*} +readelf_test -wi $tempfile readelf.wi {v850*-*-* cris-*-* *-*-linux*} |