On 05/11/2013 10:38 PM, John Reiser wrote:
Some are; libc.so.6 is an important case which demonstrates one use.
Generally, a shared library is just an ET_DYN file, and so can
have a non-zero ElfXX_Ehdr.e_entry.  It is up to the author/maintainer
to decide that to do with the facility that ELF provides.
Most of the shared libraries in /lib{,64} *do* have a non-zero .e_entry.
(" readelf -h *.so  |  grep 'Entry point' ")

It seems all PIE executables are actually ET_DYN objects with an entry point.

--
Florian Weimer / Red Hat Product Security Team
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to