This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |