[ECOS] gcc3.3 everything in the data segment?

Andrew Lunn andrew.lunn@ascom.ch
Fri Aug 8 08:32:00 GMT 2003


I have a problem with gcc 3.3:

mips64vr-elf-gcc -v
Reading specs from /opt/ecos/gnutools/mips64vr-elf/lib/gcc-lib/mips64vr-elf/3.3/specs
Configured with: /export/pub/tmp/lunn/src/gcc-3.3/configure --target=mips64vr-elf --prefix=/opt/ecos/gnutools/mips64vr-elf --enable-language=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/opt/ecos/gnutools/mips64vr-elf/include -v
Thread model: single
gcc version 3.3

mips64vr-elf-ld -v 
GNU ld version 2.14 20030612

mips64vr-elf-size install/tests/kernel/v1_5_2/tests/tm_basic 
   text    data     bss     dec     hex filename
 289372 5099364    4128 5392864  5249e0 install/tests/kernel/v1_5_2/tests/tm_basic

Everything that should be in the bss is in the data segment! The image
runs, but this is not Flash friendly!

Any ideas?

    Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list