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]

Re: [davidm@napali.hpl.hp.com: readelf question]


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
        


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