On 2014-02-10 14:18, Peter Dufault wrote:
On Feb 10, 2014, at 07:58 , Sebastian Huber<sebastian.hu...@embedded-brains.de> 
 wrote:

>Hello Peter,
>
>do you use the GCC option -fno-common?
Yes, twice for some reason.  Here's the final link command:

powerpc-rtems4.11-gcc -B../../../../../phycore_mpc5554/lib/  -specs bsp_specs 
-qrtems -mcpu=8540 -meabi -msdata -fno-common -mspe -mabi=spe 
-mfloat-gprs=single -D__ppc_generic -mstrict-align -O2 -g 
-fno-keep-inline-functions -Wall -Wmissing-prototypes 
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs    
-mcpu=8540 -meabi -msdata -fno-common -mspe -mabi=spe -mfloat-gprs=single 
-D__ppc_generic -mstrict-align   -o ticker.exe init.o tasks.o

Ok, this is pretty strange. Normally the common symbols show up if you omit the -fno-common option (common symbols are the work of the devil). Do you see this *COM* section in the linker map file?

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to