From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1af5d0f43b3ebc71 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-12 10:27:01 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.sfba.home.com.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Locating a subprogram at user-specified address References: <9g5chi$pcr$1@nh.pace.co.uk> X-Newsreader: Tom's custom newsreader Message-ID: Date: Tue, 12 Jun 2001 17:27:00 GMT NNTP-Posting-Host: 24.7.82.199 X-Complaints-To: abuse@home.net X-Trace: news1.rdc1.sfba.home.com 992366820 24.7.82.199 (Tue, 12 Jun 2001 10:27:00 PDT) NNTP-Posting-Date: Tue, 12 Jun 2001 10:27:00 PDT Organization: Excite@Home - The Leader in Broadband http://home.com/faster Xref: archiver1.google.com comp.lang.ada:8617 Date: 2001-06-12T17:27:00+00:00 List-Id: >I seem to recall in Ada you could do some version of "for-use-at" for a >subprogram to get it to a specific address. Or even "for >Subprogram_Name'Address use ..." which I think is described in 13.3(10) And further: 13.3(12) "Address may be specified for stand-alone objects and for program units via an attribute_definition_clause." 13.3(20) "The specification of a link name in a pragma Export (see B.1) for a subprogram or object is an alternative to explicit specification of its link-time address, allowing a link-time directive to place the subprogram or object within memory."