This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Implement static dl_iterate_phdr
On Mon, Oct 13, 2003 at 04:41:04PM -0700, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> H. J. Lu wrote:
>
> > I was asked why dl_iterate_phdr didn't work on static binaries for
> > IA32. I don't see why it shouldn't work.
>
> The little bit of dynamic linking functionality which is needed in
> statically linked applications works. More isn't needed.
>
Why is there a static dl_iterate_phdr at all? It links, but doesn't
work. I don't think it will help anyone. An empty file is more
appropriate if we don't want to support it.
BTW, my user wants to use the information in the ELF program header.
H.J.