I'm using Linaro GCC version 6.3.1 to compile my C++ program.
When debugging instruction by instruction, in eclipse (Xilinx SDK 2017.1), I get an undefined instruction fault at the instruction address 0x1090d8 as below:
This instruction is part of the __libc_init_array function which is called before my main.
I already tried calling the arm-eabi-g++ with the linker flags -mthumb and -marm but the result is the same. I always get the same fault (despite at different locations) and I'm not able to jump to my main function.
I'm using a Zybo Zynq-7000 with two Cortex-A9 processors
Thanks