PROGBITS warning on .bss

Dave Korn dave.korn.cygwin@googlemail.com
Sun Apr 25 18:27:00 GMT 2010


On 25/04/2010 19:17, Ian Lance Taylor wrote:
> Joel Sherrill <joel.sherrill@> writes:
> 
>> The mips rtems BSPs are getting this warning
>> when linking every executable:
>>
>> ..../mips-rtems4.10/bin/ld: warning: section `.bss' type changed to PROGBITS
> 
> That's odd.  It implies that some object has a .bss section marked as
> PROGBITS rather than NOBITS.

  I guess a first step is to start looking at section flags in the input
objects and seeing if maybe something in the CRT or BSP got built wrong, or
perhaps has some inline assembler that uses a .section directive incorrectly.

    cheers,
      DaveK



More information about the Binutils mailing list