Latest readelf change broke (generally) readelf -s

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed Nov 6 09:59:00 GMT 2002


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



More information about the Binutils mailing list