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]

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


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