This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Latest readelf change broke (generally) readelf -s
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 6 Nov 2002 18:59:36 +0100
- Subject: Latest readelf change broke (generally) readelf -s
I think for all targets, and particularly ld-cris/libdso-2.d for
cris-axis-linux-gnu:
Running /home/hp/binutils/cvs_latest/src/binutils/testsuite/binutils-all/readelf.exp ...
Version /dsk/c0t3s2/hptmp2/autobuildbinu/binu/binutils/readelf 20021106
FAIL: readelf -s
...
Running /home/hp/binutils/cvs_latest/src/ld/testsuite/ld-cris/cris.exp ...
FAIL: ld-cris/libdso-2
I don't really see the need for readelf formatting changes like
this, corresponding to this snippet from ld.log for readelf -s:
regexp "^ 1: 00000000 0 SECTION LOCAL DEFAULT 1 $"
line " 1: 00000000 0 SECTION LOCAL DEFAULT 0x0001 "
It was caused by this:
2002-11-06 Hiroyuki Machida <machida@sm.sony.co.jp>
* readelf.c (get_symbol_index_type): Add hex number to
PROCESSOR-specific, OS-specific, reserved and unknown symbol
types.
People *will* depend on readelf formatting -- even outside the
testsuite. ;-| I'll fix ld-cris/libdso-2.d.
brgds, H-P