This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

test readelf for powerpc-eabi*



Yet Another Place where we try to deduce object file format from the
triplet.  Committed after a quick test on powerpc-eabisim.

This causes readelf-wi to fail on powerpc, where before it wasn't run.
The test seems to be very fragile when GCC's debug info generation is
changed; I can't tell if it needs to be updated or deleted.

-- 
Geoff Keating <geoffk@redhat.com>

===File ~/patches/binu-readelftesteabi.patch================
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/ChangeLog,v
retrieving revision 1.46
diff -p -u -p -r1.46 ChangeLog
--- ChangeLog	2001/10/03 13:51:09	1.46
+++ ChangeLog	2001/11/15 01:07:45
@@ -1,3 +1,7 @@
+2001-11-14  Geoffrey Keating  <geoffk@redhat.com>
+
+	* binutils-all/readelf.exp: powerpc-*-eabi* is an ELF target.
+
 2001-10-03  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
 	* binutils-all/readelf.exp: Exclude mips*-*-elf* from 'readelf -wi'
Index: binutils-all/readelf.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/readelf.exp,v
retrieving revision 1.14
diff -p -u -p -r1.14 readelf.exp
--- readelf.exp	2001/10/03 13:51:09	1.14
+++ readelf.exp	2001/11/15 01:07:45
@@ -229,6 +229,7 @@ if { ![istarget *-*-elf*] \
      && ![istarget mips*-*-irix5*] \
      && ![istarget mips*-*-irix6*] \
      && ![istarget powerpc-*-sysv4*] \
+     && ![istarget powerpc-*-eabi*] \
      && ![istarget sparc*-*-solaris2*] } {
     verbose "$READELF is only intended for ELF targets" 2
     return
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]