PROGBITS warning on .bss
Joel Sherrill
joel.sherrill@oarcorp.com
Tue Apr 27 12:25:00 GMT 2010
On 04/25/2010 01:17 PM, Ian Lance Taylor wrote:
> Joel Sherrill<joel.sherrill@oarcorp.com> 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 ran this on the installed toolset, the rtems build
tree, and a build tree of newlib. It didn't get any
hits.
find . -name "*.[ao]" | while read o; do
readelf -S $o | grep ".bss" | grep NOBITS >/dev/null
test $? -ne 0 && echo $o $?
done
I think the script is right. Anywhere else to look?
Could ld be making a mistake printing this?
--joel
> Ian
>
More information about the Binutils
mailing list