That's disappointing. Is there another linker that I could use instead?

I had found that page, but it seems that I can only relocate the entire code 
segment along with the interrupt vectors. I need to relocate the code, but not 
the vectors.

Has there been any effort towards creating a new linker? Should I write one?

-----Original Message-----
From: Jan Waclawek [mailto:w...@efton.sk] 
Sent: Wednesday, February 10, 2010 9:14 PM
To: sdcc-user@lists.sourceforge.net
Subject: Re: [Sdcc-user] Default linker script for mcs51?

Well, I am not the most qualified to answer, but SDCC's linker is not 
scriptable as you might been used to.

For code/data segments [re]location you might want to look at the hints in 
http://sdcc.sourceforge.net/doc/sdccman.html/node48.html .

Jan Waclawek


>I'm working on a bootloader for an 8051-based project (Nordic 
>nRF24Le1), an= d I need to make linker scripts to put everything in its 
>proper place. But = I can't seem to find any example linker scripts, or 
>even the default script= s used by SDCC. Can someone point me in the right 
>direction?


------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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