This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ELF empty hash table: howto?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Carmelo Amoroso <carmelo73 at gmail dot com>
- Cc: libc-alpha at gnu dot org
- Date: Wed, 26 Sep 2007 14:19:35 +0200
- Subject: Re: ELF empty hash table: howto?
- References: <2ccd6e3c0709260502o78c38177lfba3b12a12dc91b@mail.gmail.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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