http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47856

           Summary: PowerPC: Wrong assembler output with -mcpu=8540 -meabi
                    -msdata -fno-common -mfloat-gprs=double -mspe
                    -mabi=spe
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: sebastian.hu...@embedded-brains.de
            Target: powerpc-rtems4.11-gcc


Created attachment 23441
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23441
Sample code.

powerpc-rtems4.11-gcc -mcpu=8540 -meabi -msdata -fno-common -mfloat-gprs=double
-mspe -mabi=spe -c docomplexf.i
/tmp/ccIXOSTp.s: Assembler messages:
/tmp/ccIXOSTp.s:72: Warning: setting incorrect section attributes for .sdata2

We have:

    .section    .sdata2,"aw",@progbits

This should be:
    .section    .sdata2,"a",@progbits

Reply via email to