gnupic: Re: [gnupic] Problem with gplink/gpasm and UDATA
Subject:
Re: [gnupic] Problem with gplink/gpasm and UDATA
From:
Peter Onion ####@####.####
Date:
23 Jul 2005 20:16:10 +0100
Message-Id: <1122146139.7330.0.camel@HP.RoomLan>
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