Unexpected overlap between .start and *COM* on phycore_mpc5554

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Feb 10 13:53:05 UTC 2014


On 2014-02-10 14:18, Peter Dufault wrote:
> On Feb 10, 2014, at 07:58 , Sebastian Huber<sebastian.huber at 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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list