Symbol Table in binary executable

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
gzaloprgm
Member
Member
Posts: 141
Joined: Sun Sep 23, 2007 4:53 pm
Location: Buenos Aires, Argentina
Contact:

Symbol Table in binary executable

Post 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
Visit https://gzalo.com : my web site with electronic circuits, articles, schematics, pcb, calculators, and other things related to electronics.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Post 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.
Post Reply