m68k custom startup - help, I am stuck

Joern Rennecke amylaar@cygnus.co.uk
Sat Aug 15 00:17:00 GMT 1998


> Last six days I've spend over very trivial matter and I am really
> starting to lose my ability to think reasonably. I am writing startup
> code for my gcc compiled program for m68000 on custom made
> board so that I could compile motorola gdb stub.

If i read this correctly, you are putting your stack into bss,
your return address on the stack, and then you clear the bss,
including the return address.  So you return to address 0.



More information about the Gcc mailing list