ELF empty hash table: howto?

Jakub Jelinek jakub@redhat.com
Wed Sep 26 12:10:00 GMT 2007


On Wed, Sep 26, 2007 at 02:02:11PM +0200, Carmelo Amoroso wrote:
> I'm just wondering how could happen having into an elf binary and
> empty hash table
> (sysv or gnu style doesn't care).

You can create a shared library which will not export any symbols.
If both DT_HASH and DT_GNU_HASH tags are missing, l_nbuckets will
be also 0.

	Jakub



More information about the Libc-alpha mailing list