This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: arm-elf-nm --print-size fails on static variables
- From: "Shaun Jackman" <sjackman at gmail dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 15 Mar 2006 11:32:52 -0700
- Subject: Re: arm-elf-nm --print-size fails on static variables
- References: <7f45d9390511031315t4b843272p@mail.gmail.com> <20051103212017.GA11701@nevyn.them.org> <7f45d9390511040650p48f35434m@mail.gmail.com>
- Reply-to: "Shaun Jackman" <sjackman at gmail dot com>
On 11/4/05, Shaun Jackman <sjackman@gmail.com> wrote:
> 2005/11/3, Daniel Jacobowitz <drow@false.org>:
> > On Thu, Nov 03, 2005 at 02:15:27PM -0700, Shaun Jackman wrote:
> > > When an object file is compiled by arm-elf-gcc 4.0.2, nm -S 2.16.*
> > > isn't printing the size of static variables. I'd very much appreciate
> > > a fix or workaround, if one is out there.
> >
> > Check what the file really says, using readelf. If the sizes are
> > unset, check a CVS version of GCC or report the bug to GCC's bugzilla.
> > That's more likely than an nm bug.
>
> It certainly appears to be a GCC bug.
>
> Cheers,
> Shaun
I've posted bug PR gcc/26702.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26702
Cheers,
Shaun