comp.lang.ada
 help / color / mirror / Atom feed
From: ok@goanna.cs.rmit.EDU.AU (Richard A. O'Keefe)
Subject: Re: Addresses of Subprograms (was: New GNAT ports)
Date: 1997/01/14
Date: 1997-01-14T00:00:00+00:00	[thread overview]
Message-ID: <5bf9vc$220$1@goanna.cs.rmit.EDU.AU> (raw)
In-Reply-To: 1997Jan13.102240.1@eisner


kilgallen@eisner.decus.org (Larry Kilgallen) writes:
[There is a distinction between the "address" of a subprogram,
 meaning "what do I use for an indirect call"
 and the "address" of a subprogram,
 meaning "where does the executable code start".
 He cites the Alpha VMS and Macintosh 68k environments as examples,
 and asks
]
>Do other operating systems have this separation, and which is the
>"true" meaning for specifying the address of a subprogram from an
>Ada perspective ?

The Apollo systems did this too.  I never used Aegis, but the UNIX
systems they shipped had C function pointers being pointers to
indirect blocks, the actual code being elsewhere.  It was actually
a pain for us (Quintus) because we wanted to put a certain procedure
at a particular address (so we could use 16-bit addresses on a 68k)
and you could never expect a procedure to be in the same place twice
running.

Lisp systems have often done this (the "slow link" / "fast link"
distinction) in order to support run-time redefinition of procedures.

What do the Ada->J-code compilers do?

-- 
My tertiary education cost a quarter of a million in lost income
(assuming close-to-minimum wage); why make students pay even more?
Richard A. O'Keefe; http://www.cs.rmit.edu.au/%7Eok; RMIT Comp.Sci.




  reply	other threads:[~1997-01-14  0:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-24  0:00 New GNAT ports (was Re: Ada and Automotive Industry) Robert Dewar
1996-12-27  0:00 ` New GNAT ports John Howard
1997-01-07  0:00 ` New GNAT ports (was Re: Ada and Automotive Industry) Richard A. O'Keefe
1997-01-07  0:00   ` Robert Dewar
1997-01-08  0:00     ` Richard A. O'Keefe
1997-01-08  0:00       ` Robert Dewar
1997-01-08  0:00     ` Ken Garlington
1997-01-07  0:00   ` Robert A Duff
1997-01-07  0:00     ` Robert Dewar
1997-01-08  0:00     ` Richard A. O'Keefe
1997-01-09  0:00       ` Dr. Peter E. Obermayer
1997-01-07  0:00   ` Ken Garlington
1997-01-08  0:00     ` Richard A. O'Keefe
1997-01-08  0:00       ` Robert Dewar
1997-01-09  0:00         ` Richard A. O'Keefe
1997-01-11  0:00           ` Robert Dewar
1997-01-11  0:00         ` Addresses of Subprograms (was: New GNAT ports) Larry Kilgallen
1997-01-13  0:00           ` Larry Kilgallen
1997-01-14  0:00             ` Richard A. O'Keefe [this message]
1997-01-14  0:00               ` Fergus Henderson
1997-01-15  0:00             ` Richard Kenner
1997-01-09  0:00       ` New GNAT ports (was Re: Ada and Automotive Industry) Ken Garlington
1997-01-08  0:00   ` Karl Cooper
1997-01-08  0:00     ` Robert Dewar
1997-01-09  0:00     ` Richard A. O'Keefe
1997-01-09  0:00       ` Robert Dewar
1997-01-09  0:00   ` Robert I. Eachus
1997-01-10  0:00   ` Robert I. Eachus
1997-01-11  0:00     ` Robert Dewar
1997-01-13  0:00       ` Richard A. O'Keefe
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox