Hello  Sir/Madam,

 

I am using MK60FN1M0VLQ12 (COTREX-M4) processor for my development.

I am using float and double data types in my code. When I perform any
mathematical operation on these variables, the processor goes to Hard Fault
Exception.

Earlier I have used GCC  4.5.2 compiler for my compilation 

 

So now I am using Linaro's GNU-GCC Toolchain 4.6.2 for compiling my code
with following command.

 

arm-none-eabi-gcc -Wall -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mcpu=cortex-m4
-mthumb -Qn -Os  -mlong-calls -c main.c -o main.o

 

But I am getting following error while linking my code

 

ld: section .text.startup loaded at [00032258,000331cb] overlaps section
.InitializedVariables loaded at [00032258,00032787]

 

The link file is attached with this mail.

 

Can you please suggest me some solution for this problem.

 

Can you also suggest some compiler commands to support float and double data
type using software.

 

Awaiting for your reply, 

 

 

Thanks & Regards,

 

Akash

 

 

 

 

 

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to