> Paul Koning <[email protected]> writes:
>
> > It looks like the compiler is generating appropriate code but gas
> > isn't doing the right thing with it, at least not consistently.
> >
> > With this test program, compiled with GCC 4.1.2 mipsel-netbsdelf:
> >
> > int i = 3;
> > char foo[17] __attribute__ ((aligned(32)));
> >
> > I get .bss aligned 2**4.
>
> That's not a bug. The symbol is defined in the COMMON section, not
the
> .bss section. You can use -fno-common to tell the compiler to put the
> symbol into the .bss section. But either way the final linked
> executable should have the symbol properly aligned.
You're right, it appears that it does.
Thanks for setting me straight.
paul