Re: Load-time relocation of Code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



u0606029 <surajraghavendran@xxxxxxxxx> writes:

> I am working on a TriCore/ T-Kernel based environment and I need to perform
> load time relocation. Currently, the environment does not support
> relocation, but supports Position independent code. What I want to achieve
> is, loading an application in any desired address space, although at Link
> time, an address space may have been allocated.
>
> How do I go about this? Is it enough if I change all section addresses,
> symbol table entries and got entries?

There are many possible approaches.  If the code is truly position
independent, though, then it should be very easy.  Just load it where
you want it to run.  The details of that are going to involve your
loader, which we know nothing about.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux