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