gnupic: [gnupic] Relocatable code on 16F870


Previous by date: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Iain Dooley
Next by date: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Craig Franklin
Previous in thread: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Iain Dooley
Next in thread: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Craig Franklin

Subject: Re: [gnupic] Relocatable code on 16F870
From: Peter Onion ####@####.####
Date: 14 Jun 2005 16:54:45 +0100
Message-Id: <1118764457.10219.33.camel@ratbert.alien.bt.co.uk>

On Wed, 2005-06-15 at 01:31 +0000, Iain Dooley wrote:

> .udata? have you tried removing the '.' before udata?

Have you tried ?   .udata is the default name given to udata sections by
the assembler, it's not the name I gave to the udata section !

plink-0.13.2 alpha
Map File - Created 6-14-2005  16:34:50
  
                                 Section Info
                  Section       Type    Address   Location Size(Bytes)
                ---------  ---------  ---------  ---------  ---------
                    reset       code   00000000    program   0x000002
                      int       code   0x000004    program   0x0005a4
                   .udata      udata   0x000020       data   0x00001d
  

As you can see I've "fixed" the problem.  I had a look at the
differences between the 870 and 877 .lkr files and took a guess at what
was missing from the 870 version

I've just looked in the MPASM manual and I see there is a section on
linker scripts so I'll go and read that now and then I'll understand
what I'm doing LOL

Peter



Previous by date: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Iain Dooley
Next by date: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Craig Franklin
Previous in thread: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Iain Dooley
Next in thread: 14 Jun 2005 16:54:45 +0100 Re: [gnupic] Relocatable code on 16F870, Craig Franklin


Powered by ezmlm-browse 0.20.