This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: "Create a symbol table"
- To: Xinan Tang <xinant at cognigine dot com>
- Subject: Re: "Create a symbol table"
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Sat, 9 Jun 2001 12:30:36 +0930
- Cc: binutils at sources dot redhat dot com
- References: <3B2186E6.5040304@cognigine.com>
On Fri, Jun 08, 2001 at 07:16:06PM -0700, Xinan Tang wrote:
>
> Basically the symbol table has only one symbol, "foo_symbol".
> However, once using `objdump' to dump the symbol table, it says
> no symbols.
>
> __________________________________________
> >./objdump -t foo_obj.o
>
> foo_obj.o: file format elf32-little
>
> ./objdump: foo_obj.o: no symbols
> _______________________________________
>
> What did go wrong?
The first entry of a symbol table is reserved.