PATCH: Improve .note section handling in readelf

Mark Mitchell mark@codesourcery.com
Tue Oct 26 16:30:00 GMT 2004


Nick Clifton wrote:
> Hi Mark,
> 
>> 2004-10-25  Mark Mitchell  <mark@codesourcery.com>
>>
>>     * readelf.c (get_note_type): Handle notes not in core files.
>>     (process_note_sections): New function.
>>     (process_corefile_contents): Rename to ...
>>     (process_notes): ... this.
>>     (process_object): Call process_notes, not
>>     process_corefile_contents.
>>     * doc/binutils.texi: Update readelf -n documentation.
> 
> 
> Approved and applied.

Thanks!

Did you have any reaction to my follow-on question about the invalid 
notes being generated by the generic ELF code when processing ".version" 
directives?

-- 
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com



More information about the Binutils mailing list