Hi all,
We are using Linaro 13.03 toolchain( gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux We are trying to execute a simple test code to check whether ARM assembly code executes on board or not. Execution is on Arndale Board. Every time We include assembly function, We get segmentation fault. Kindly check if I We are missing any arm related flags in makefile. We have attached the ‘helloworld’ test code and makefile. Regards, Vishwa
.text .align 0 sTestArnDale : STMFD sp!, {r4-r7,lr} VMOVL.u8 q10,d20 LDMFD sp!,{r4-r7,pc} .global sTestArnDale
#include <stdio.h> #ifdef ARM_ASM_TEST void sTestArnDale(); #endif int main() { printf("\nHello World\n"); #ifdef ARM_ASM_TEST sTestArnDale(); #endif return 0; }
Makefile.linux_test
Description: Binary data
_______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain