Rom based Shared Library

Jonathan S. Shapiro shap@eros-os.org
Thu Mar 30 16:53:00 GMT 2006


Then you need to recompile your program for position-independent data.

On Thu, 2006-03-30 at 18:25 +0200, johnmc@sidsa.es wrote:

> The problem that I have is that my program running in Flash is built such
> that the .bss section is accessed directly using PC relative code. That
> means as long as I keep the .bss section at the same relative position
> from the instruction accessing it - it will work. So I can load the shared
> library anywhere in Flash and the PIC code will be OK. Except it will NOT
> as a program running in Flash cannot write to a memory area in the same
> Flash - this is a hardware limitation of running programs in Flash.


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list