Can ELF file contain more than one symbol table?

John Reiser jreiser@bitwagon.com
Sat Jul 17 16:30:00 GMT 2010
> Okay, but it is there any compiler/linker which is able to produce
> multiple SYMTAB sections?

I have several in my back pocket.  At this moment nobody else has any copies :-)

Because most consuming programs pay attention to only one Elf32_Shdr
section with SHT_SYMTAB==.sh_type [and usually with .sh_name ==> ".symtab"]
then the only point of an ET_REL file with more than one such section
would be to occupy space or to "pass through" a private conversation.
Similarly for DT_SYMTAB in the Dynamic section.

Please tell the purpose for multiple SYMTAB sections.

-- 



More information about the Binutils mailing list