This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Can ELF file contain more than one symbol table?
- From: Dennis Yurichev <dennis at conus dot info>
- To: binutils at sourceware dot org
- Date: Sat, 17 Jul 2010 18:48:16 +0300
- Subject: Re: Can ELF file contain more than one symbol table?
- References: <4C419229.1050105@conus.info> <4C41C40C.3020607@bitwagon.com>
- Reply-to: dennis at conus dot info
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 17-Jul-10 17:54, John Reiser wrote:
>> Can ELF file contain more than one symbol table?
>> Is it standardized somehow?
>
> Most executable main programs contain three symbol tables:
> a DT_SYMTAB table and a .gnu.version table that are used
> by the runtime dynamic loader/linker, and a .symtab SHT_SYMTAB
> table that is used by the static loader/binder and by debuggers.
>
> There ELF file format specification itself places no restriction
> on the number of any kind of symbol tables, although most
> producers and most consumers pay attention to at most one
> (usually the last or the first) of a particular kind.
Okay, but it is there any compiler/linker which is able to produce
multiple SYMTAB sections?
- --
My PGP public key: http://yurichev.com/dennis.yurichev.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxB0MAACgkQ1YPmFmJG++P+PgCglanR/KqqqJc/TR4xD1xphv2H
EUAAoL0CzhvF9CLDVmJi8tLx1ZohMnOW
=huMF
-----END PGP SIGNATURE-----