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: readelf -D --reloc bug


On Mon, Mar 31, 2003 at 08:11:51AM -0800, H. J. Lu wrote:
> # readelf -D --reloc /bin/ls
> 
> There are no dynamic relocations in this file.
> 
> It is clearly not true.
> 

There are several problems with -D:

1. Not all elements in dynamic_info are filled, including those for
relocation information.
2. Readelf assumes there can only be DT_REL, DT_RELA or DT_JMPREL, but
not at the same time.

H.J.


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