[davidm@napali.hpl.hp.com: readelf question]
Nick Clifton
nickc@redhat.com
Thu Jun 26 12:45:00 GMT 2003
Hi Roland,
>> Would you like to contribute a patch that does this ?
>
> Well if you're going to make such callous threats to my life and the
> lives of my pets, I guess I'll just have to comply. I don't want
> any trouble.
Darn, I guess that means I'll have to rescind the contract on tiddles
then.
> 2003-06-23 Roland McGrath <roland@redhat.com>
>
> * readelf.c (loadaddr): Variable removed.
> (dynamic_info, version_info): Fix type long -> bfd_vma.
> (program_headers): New variable.
> (get_program_headers): New function, broken out of
> process_program_headers.
> (process_program_headers): Call it. Don't set `loadaddr'.
> (slurp_ia64_unwind_table): Use get_program_headers.
> (process_corefile_note_segments): Likewise.
> (offset_from_vma): New function.
> (process_relocs, process_dynamic_segment): Call that instead of
> subtracting `loadaddr'.
> (process_version_sections, process_symbol_table): Likewise.
> (process_mips_specific): Likewise.
Approved and applied. It does the job very nicely! :-)
Cheers
Nick
More information about the Binutils
mailing list