Content originally posted in LPCWare by Pacman on Mon Nov 04 01:39:36 MST 2013
Quote: MaSt
If i delete the __libc_init_array() call in the M0 startup-code, the application runs without problems. My assumption is, that the M0 calls the M4 __libc_init_array() and traps due M4-instruction set.
Perhaps you only have the library as M4 native, not M0 native ?
-If you can rebuild the library, try building it for multiple architectures; eg. "universal binary", so you get a two-in-one library.
I have no idea if this will help, though.