[dm-devel] Re: [KJ] [PATCH] dm: uninitialize static variables
Carlos Manuel Duclos Vergara
carlos at embedded.cl
Mon Dec 5 18:06:49 UTC 2005
> static unsigned int __attribute__((__section__(".bss"))) major = 0;
> static unsigned int __attribute__((__section__(".bss"))) _major = 0;
it should be:
static unsigned int major __attribute__ ((section(".bss"))) = 0;
> If you could tell me how to achieve this in a fancy way which also works,
> I'm all ears. Maybe the janitorial steering committee might also like the
> idea enough to adjust their current TODO list.
yup, maybe it's worth of a discussion on the list
--
Carlos Manuel Duclos Vergara
http://www.toolchains.com/personal/blog
More information about the dm-devel
mailing list