I've been trying to write a "hello world" shared library with the
codesourcery toolchain on the Coldfire architecture. When I link with a
static library, the test program works great. It doesn't work so well
when linked with a shared library. Instead it dies with an "Illegal
Instruction" error.
The problem is occuring some time after start_thread before the "main"
in the test program. With gdbserver, I can only get as far as these
instructions which are called by start_thread.
move %d5,%a5
rts
It seems that the flat loader is pushing some frames(?) onto the stack
for some library initialization. Is this correct? I am a little bit lost
tracking down where this "Illegal Instruction" is occuring. Any help on
this and the remainder of the file load process will be greatly
appreciated.
- Jate S.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev