Re: Relocating application architecture and compiler support

From: glen herrmannsfeldt (gah_at_ugcs.caltech.edu)
Date: 01/26/05


Date: Tue, 25 Jan 2005 17:49:51 -0800

Anne & Lynn Wheeler wrote:
> Edward Wolfgram <Not_Edward_Wolfgram@notiwaysoftware.com> writes:

>>Lynn's example is not relocateable to the level you are thinking-
>>that is, relocateable at an interrupt level. Once execution starts,
>>virtual (not physical) memory addresses must stay put.

>>The relocatabilty you are talking about can be done, but it would be
>>enormously difficult and a PIA. It would mean that all memory
>>(address) references must be atomic. E.g.

> i had a very simple objective that the executable program image on
> disk would be identical to the executable program image in virtual
> memory and that the same executable program image could appear (using
> virtual memory segment sharing) could appear concurrently in multiple
> different virtual address spaces at potentially different virtual
> addresses.

Different objectives have been discussed in this thread, both
with and without S/370 style DAT. If one wanted to do
timesharing on S/360 including relocating programs as they were
swapped in and out, something more complex would be required,
possibly including conventions on register use.

It was nice of S/370 to come along when it did to remove the
need for that problem.

-- glen



Relevant Pages

  • Re: Re-basing packages
    ... Relocating a DLL is apparently something that will slow loading down. ... If dll's/bpl's must be relocated in memory this not only slows ...
    (borland.public.delphi.non-technical)
  • RE: low memory]
    ... It is the greatest program for twicking and finding memory issues and ... relocating stuff. ... APP's there to free up storage space so your Program Memory is maximized. ... And see the auto launch stuff so you can turn off ...
    (microsoft.public.pocketpc)
  • Re: Relocating application architecture and compiler support
    ... > that the code could be loaded anywhere in memory for execution. ... relocateable at an interrupt level. ... The relocatabilty you are talking about can be done, ... -> do some complex calculation based on the address to get a new address ...
    (comp.arch.embedded)