Page 1 of 1

Symbol Table in binary executable

Posted: Tue Apr 29, 2008 10:05 pm
by gzaloprgm
Hi, Is there any way to include the symbol table during linking with ld to a binary file?

I've tried with *(.symtbl) on my linker file but it only outputs symbols when I set elf as output format.

Thanks,
Gonzalo

Posted: Tue Apr 29, 2008 10:33 pm
by bewing
The format of the symbol table is specified in the overall output format. Elf has a symbol table format. Flat binary files do not. So I think the answer is no.