Jivin [EMAIL PROTECTED] lays it down ...
> 
> > 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.
> 
> Assuming things are as I left them, yes the flat loader pushes stack frames 
> onto the stack.  These represent each library's initialisation routine (in 
> reverse order of course).  It turned out easier to fake the stack than to 
> call them properly.
> 
> Unfortunately, no idea where the error is coming from :-(

I was under the impression (and still am) that the port of the m68k
shared library code to the later GCC's still had some issues. Unless
someone can say they have it working fine, I am inclined to believe
that it is still the case :-)

I'd be checking the GCC auto gen function entry/exit code and register
usage, -msep-data seems to be ok,

Cheers,
Davidm

-- 
David McCullough,  [EMAIL PROTECTED],   Ph:+61 734352815
Secure Computing - SnapGear  http://www.uCdot.org http://www.cyberguard.com
_______________________________________________
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

Reply via email to