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: [PATCH] Explicitly get .dynamic section for "readelf -d"


Hi Jie,

"readelf -d" cannot display the dynamic segment correctly for some MIPS
targets when there are more than one section in the dynamic segment and
.dynamic section does not come first. This patch fix this bug.

Thanks very much for submitting this patch.


There is a small problem with it - it contains duplicated code. I think that a better approach would be to put the scan for the .dynamic section into the code in process_program_headers() where dynamic_addr and dynamic_size are currently initialised. Could you try this out please ?

Cheers
  Nick



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