comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: pragma import => pointer in mapping table ?
Date: Tue, 05 Nov 2013 21:12:20 +0000
Date: 2013-11-05T21:12:20+00:00	[thread overview]
Message-ID: <lyli12r1sb.fsf@pushface.org> (raw)
In-Reply-To: dba0e1ef-02cb-49a0-baa0-e6780adcf6aa@googlegroups.com

wkernow@gmail.com writes:

>> 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).

This sounds to me just like what I said in the previous post.

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

Pretty sure I haven't used a map file since 1984, so I can't answer
this.

  reply	other threads:[~2013-11-05 21:12 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
2013-11-05 21:12     ` Simon Wright [this message]
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