On Thursday 19 July 2007 22:38, ron minnich wrote:
initram is XIP, right?
The LAR files we have run have all been linked at 0x0 base, i.e. where they would be copied to to run. I would bet the ld step is initram is the same.
So, here's a problem. XIP in LAR is problematic, because your location in lar affects the linking step.
now what?
- Is there a way to force the compiler to generate something like the 0x9A opcode (absolute call) instead of the 0xE8 (+/- 2GiB relative call) one? Something like "FAR" in early DOS times? - ELF runtime linking? - initram as a static part of stage0? (=XIP)
Juergen