arm-elf-nm --print-size fails on static variables

Shaun Jackman sjackman@gmail.com
Wed Mar 15 18:32:00 GMT 2006


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


More information about the Binutils mailing list