From: Simon Wright <simon@pushface.org>
Subject: Re: GNAT GPL2016 on Ubuntu 15.04 and Debian 8
Date: Tue, 04 Oct 2016 18:10:57 +0100
Date: 2016-10-04T18:10:57+01:00 [thread overview]
Message-ID: <lymvikyr8e.fsf@pushface.org> (raw)
In-Reply-To: fc213857-4683-4048-9175-1a0007756805@googlegroups.com
"M. Enzmann" <enzmann.m@googlemail.com> writes:
> Ah! Okay! There is a section .ccmdata in common-RAM.ld and
> common-ROM.ld and start-rom.S does some work there. I'll have to
> figure out what happens..
.data is for read/write data that isn't initially blank; the initial
values are placed at __data_load in Flash, and the startup copies data
starting from there to the area __data_start .. __data_end.
.ccmdata is going to be the same, but your code would have to tell the
compiler what linker section to use:
X : Integer;
pragma Linker_Section (X, ".ccmdata");
prev parent reply other threads:[~2016-10-04 17:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-04 7:15 GNAT GPL2016 on Ubuntu 15.04 and Debian 8 M. Enzmann
2016-10-04 11:24 ` Simon Wright
2016-10-04 15:27 ` M. Enzmann
2016-10-04 17:10 ` Simon Wright [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox