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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.198.197 with SMTP id v45mr11247688yhn.26.1383676051374; Tue, 05 Nov 2013 10:27:31 -0800 (PST) X-Received: by 10.49.59.66 with SMTP id x2mr47705qeq.40.1383676051349; Tue, 05 Nov 2013 10:27:31 -0800 (PST) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!o2no20742985qas.0!news-out.google.com!9ni12327qaf.0!nntp.google.com!i2no11763677qav.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 5 Nov 2013 10:27:31 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=80.215.28.248; posting-account=W9UEuAoAAADNIQRnlWF95-3yG4h191wg NNTP-Posting-Host: 80.215.28.248 References: <2d53ec9f-1ae1-4547-ac08-6fef44ab490f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: pragma import => pointer in mapping table ? From: wkernow@gmail.com Injection-Date: Tue, 05 Nov 2013 18:27:31 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Original-Bytes: 2023 Xref: number.nntp.dca.giganews.com comp.lang.ada:183782 Date: 2013-11-05T10:27:31-08:00 List-Id: > But, what in the mapping table leads you to conclude that these > variables are treated as pointers? Because, experiences prove it. In deed, I'm using an external program which reads the map file. This program reads/writes a value of a variable. User can indicate to this program if the variable is a pointer or not. When user wants to read direct value, answer is an address (0x019dc345). When user wants to read indirect value (by a poniter), answer is a value (1). When user wantd to read direct value of 0x019dc345, answer is a value (1). > You could think of this as an access via a pointer at the machine code > level, but at the Ada level this is just the same as any other variable > access. I understand your argument. I can't access to toolchain easily. Do you think I need to look for the linker ? Or/and see how map file is built ?