comp.lang.ada
 help / color / mirror / Atom feed
From: wkernow@gmail.com
Subject: Re: pragma import => pointer in mapping table ?
Date: Tue, 5 Nov 2013 10:27:31 -0800 (PST)
Date: 2013-11-05T10:27:31-08:00	[thread overview]
Message-ID: <dba0e1ef-02cb-49a0-baa0-e6780adcf6aa@googlegroups.com> (raw)
In-Reply-To: <lyfvrbroqj.fsf@pushface.org>

> 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 ?



  reply	other threads:[~2013-11-05 18:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05  9:49 pragma import => pointer in mapping table ? wkernow
2013-11-05 12:56 ` Simon Wright
2013-11-05 18:27   ` wkernow [this message]
2013-11-05 21:12     ` Simon Wright
2013-11-08 18:52 ` Per Sandberg
  -- strict thread matches above, loose matches on Subject: below --
2013-11-05  9:23 Pragma " wkernow
replies disabled

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