Hi

On 6 March 2014 14:22, Vishwanath C <vishwanat...@aricent.com> wrote:
> 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.

I believe that you need a .type directive in the assembly file.
        .type   sTestArnDale, %function

With that change (and the removal of the OpenCL library, which I don't
have) your example runs successfully on QEMU.

Hope this helps
Charles

Attachment: test_arndale.s
Description: Binary data

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

Reply via email to