I got readelf -w .. ... readelf: Warning: Section 24 was not dumped because it does not exist! readelf: Warning: Section 24 was not dumped because it does not exist! readelf: Warning: Section 24 was not dumped because it does not exist! readelf: Warning: Section 24 was not dumped because it does not exist! readelf: Warning: Section 24 was not dumped because it does not exist! readelf: Warning: Section 24 was not dumped because it does not exist! process_archive doesn't reset dump_sects after processing each archive member. We are reusing dump_sects from the largest dump_sects.
CVSROOT: /cvs/src Module name: src Changes by: hjl@sourceware.org 2011-01-18 17:43:57 Modified files: binutils : ChangeLog readelf.c Log message: Reset dump_sects after processing each archive member. 2011-01-18 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12408 * readelf.c (process_archive): Free and reset dump_sects after processing each archive member. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1737&r2=1.1738 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/readelf.c.diff?cvsroot=src&r1=1.529&r2=1.530
Fixed.