This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: Unknown section identifier in ObjDump output
- From: "Unknown Emails" <unknown at partis dot co dot uk>
- To: "'Daniel Jacobowitz'" <drow at false dot org>, "'Gary Partis'" <gary at partis dot co dot uk>
- Cc: <binutils at sources dot redhat dot com>
- Date: Wed, 10 Dec 2008 19:58:47 -0000
- Subject: RE: Unknown section identifier in ObjDump output
- References: <066401c95a55$cd790430$686b0c90$@co.uk> <20081210023825.GA29120@caradoc.them.org>
Hi Daniel
> > This may be obvious, but I can not find any reference to this on
> Google.
> >
> > I have copied output from ObjDump, pertaining to the symbol table. It
> > contains an entry who's section is '*COM*'.
>
> It means you're looking at a common symbol. This is somewhat related
> to the concept of Fortran common blocks; they're also used by some
> tools for uninitialized globals. For the purposes of relocation it's
> much like being in .bss.
Many thanks for confirming what I thought, and dreaded... There was no
section called 'common' or 'com' or anything else for that matter, just the
normal '.code', '.data' etc etc.
I presume this means I need to either :
1. establish the size of the *com* section from entry addresses and sizes,
or
2. somehow force all such entries into the .bss section...
Cheers
Gary