Re: Problem with gplink/gpasm and UDATA

Peter Onion <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Message-ID <[email protected]>
On Fri, 2005-07-22 at 10:18 +0100, A.J. Green,PEM wrote:
> Hello,
> 
> Here at Cambridge University Engineering Department we are big users of 
> open-source software.  As such I am looking at setting up a PIC 
> development environment using anjuta, gputils and sdcc.
> 
> At the moment I am struggling with gplink & gpasm.  I can't seem to get 
> gplink to link any object file that was compiled from an asm file with a 
> non-absolute UDATA section.  If I include an absolute memory location 
> (as in sec_name UDATA 0x20 instead of just sec-name UDATA) then 
> everything works fine.
> 
> I expect I am missing some fundamental point but I cannot for the life 
> of me work out why this doesn't work as I am fairly sure that the 
> location part is optional.

See the thread "[gnupic] Relocatable code on 16F870" which was about the
same issue.

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.