[arm-gnu] Static template member in assigned section -- section type conflict

Carlos O'Donell carlos_odonell at mentor.com
Mon Jan 30 14:54:13 UTC 2012


On 1/28/2012 3:01 PM, Gene Smith wrote: 
> Program output:
> $ ./a.out
> 0x600c70 &priv           <---in .mysect
> 0x600da0 &priv.a         <---in .bss
> 0x600c6c &priv.b         <---in .mysect
> 0x600c70 &priv.c[0]      <---in .mysect
> 
> Exactly what I want!

Does `static' still work correctly?

Cheers,
Carlos.
-- 
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos at codesourcery.com
+1 (613) 963 1026



More information about the arm-gnu mailing list