2001-03-30 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 31 Mar 2001 06:37:39 +0000 (06:37 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 31 Mar 2001 06:37:39 +0000 (06:37 +0000)
* binutils-all/readelf.exp: Run on more ELF targets.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/readelf.exp

index 41b6533da92c2d8fd94a0d8a8166bd65e709f514..1b0c9a2f3324c4f17e140752d3d9850742f31eeb 100644 (file)
@@ -1,3 +1,7 @@
+2001-03-30  H.J. Lu  <hjl@gnu.org>
+
+       * binutils-all/readelf.exp: Run on more ELF targets.
+
 2001-02-11  H.J. Lu  <hjl@gnu.org>
 
        * config/default.exp: Set up gcc_gas_flag.
index 1123df4cb45c1cb22697f1121ee8bd03b9f2b320..bd00da02c7d0bf0a8f279cbd3a3bdfec4b9e201c 100644 (file)
@@ -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*}
This page took 0.027136 seconds and 4 git commands to generate.