[multiple changes]
authorArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 Oct 2015 09:53:11 +0000 (11:53 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 20 Oct 2015 09:53:11 +0000 (11:53 +0200)
commit3c777b50a71002d3b0cb8c62a9bbdb846e286e96
treed31771f34536bd99b3f7a1a240d50799a237c1ba
parent7188885e569f18885615d4064e393d4c6db77e80
[multiple changes]

2015-10-20  Thomas Quinot  <quinot@adacore.com>

* Makefile.rtl: add the following...
* g-binenv.ads, g-binenv.adb: New unit providing runtime access
to bind time captured values ("bind environment")
* init.c: declare new global variable __gl_bind_env_addr.
* bindgen.ads, bindgen.adb (Set_Bind_Env): record a bind
environment key=value pair.
(Gen_Bind_Env_String): helper to produce the bind environment data
called  in the binder generated file.
(Gen_Output_File_Ada): Call the above (Gen_Adainit): Set
__gl_bind_env_addr accordingly.
* switch-b.adb: Support for command line switch -V (user interface
to set a build environment key=value pair)
* bindusg.adb: Document the above

2015-10-20  Vincent Celier  <celier@adacore.com>

* sem_prag.adb (Analyse_Pragma: Pragma Pure): Do not set the
entity as Pure if Debug_Flag_U is set.

From-SVN: r229031
12 files changed:
gcc/ada/ChangeLog
gcc/ada/Makefile.rtl
gcc/ada/bindgen.adb
gcc/ada/bindgen.ads
gcc/ada/bindusg.adb
gcc/ada/g-binenv.adb [new file with mode: 0644]
gcc/ada/g-binenv.ads [new file with mode: 0644]
gcc/ada/gnatbind.adb
gcc/ada/impunit.adb
gcc/ada/init.c
gcc/ada/sem_prag.adb
gcc/ada/switch-b.adb