PATCH: Implement static dl_iterate_phdr

Segher Boessenkool segher@kernel.crashing.org
Fri Oct 17 14:54:00 GMT 2003


H. J. Lu wrote:
> BTW, my user finds dl_iterate_phdr useful on other arches, but it is
> kind of useless when it only works with dynamic binaries.

I use it in a program that preloads itself as a library, before running
some other program (the functionality it provides is the same as -pg, but
works for any dynamic binary).  So it's not useless for me, and I couldn't
care less for static binaries in this case.

There's more to the world than your testcase.


Segher



More information about the Libc-alpha mailing list