On Thu, Feb 11, 2010 at 08:22:57PM +0100, Brandon Fosdick wrote:
> 
> On Feb 11, 2010, at 20:04 , Peter Van Epp wrote:
> 
> > On Thu, Feb 11, 2010 at 12:27:04PM +0100, Brandon Fosdick wrote:
> >> Well, it looks like I spoke too soon. 
> >> 
> >> SDCC is still dumping some non-vector stuff in the GSINIT and HOME 
> >> segments. I see how I could use the linker to relocate GSINIT* segments to 
> >> someplace else (or modify the mcs51 library). But I don't see how to 
> >> relocate __sdcc_program_startup from HOME to CSEG. It doesn't seem to be 
> >> defined anywhere in the lib directory that was installed with SDCC.
> > 
> >     It is defined in main (and thus will be in the code generator somewhere
> > I expect), and called from sdcc/device/lib/mcs51/crtstart.asm. I expect you
> > would meed to modify the code generator to do what you want (or modify 
> > main.asm by hand).
> 
> 
> I was afraid of that. I may take a stab at modifying the generator, just for 
> fun. Does anyone have a git mirror of the repository?
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user

        I'm not sure what a git mirror is, but source snapshots are available
on the web site, thats where I was looking at the startup code from. Also note
I'm far from an expert and may be stearing you wrong :-). 

Peter Van Epp

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to