This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can ELF file contain more than one symbol table?


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]