This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: readelf -D --reloc bug
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Mon, 31 Mar 2003 08:32:56 -0800
- Subject: Re: readelf -D --reloc bug
- References: <20030331081151.A15553@lucon.org>
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.