This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ELF empty hash table: howto?
On 26/09/2007, Jakub Jelinek <jakub@redhat.com> wrote:
> 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
>
Thanks for the explanation... even if a DSO without exported symbols
seems pointless.
Regards,
Carmelo