summaryrefslogtreecommitdiff
path: root/gcc/ada/bindusg.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-04 13:26:18 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-04 13:26:18 +0000
commitfb31b465671914141a8fca9e13a135257994de37 (patch)
treed05fc3ff905800886f21e31cfce3310be6ebf1a9 /gcc/ada/bindusg.adb
parent84c19f51c942a277055dc44cbbf5e5b43e6320b2 (diff)
downloadgcc-fb31b465671914141a8fca9e13a135257994de37.tar.gz
2005-07-04 Vincent Celier <celier@adacore.com>
* mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-mingw.adb, mlib-tgt-darwin.adb (Build_Dynamic_Library): Remove all auto-initialization code, as this is now done through the constructor mechanism. * adaint.h, adaint.c (__gnat_binder_supports_auto_init, __gnat_sals_init_using_constructors): New functions. * bindgen.adb (Gen_Output_File_Ada): Generate pragmas Linker_Constructor and Linker_Destructor when switch -a is used. * bindusg.adb: Add line for new switch -a * gnatbind.adb (Gnatbind_Supports_Auto_Init): New Boolean function (Gnatbind): When switch -a is used, check if it is allowed * switch-b.adb (Scan_Binder_Switches): Process new switch -a git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101573 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/bindusg.adb')
-rw-r--r--gcc/ada/bindusg.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/bindusg.adb b/gcc/ada/bindusg.adb
index 5a232e607ee..60deb26b374 100644
--- a/gcc/ada/bindusg.adb
+++ b/gcc/ada/bindusg.adb
@@ -51,6 +51,11 @@ begin
Write_Str (" -aIdir Specify source files search path");
Write_Eol;
+ -- Line for a switch
+
+ Write_Str (" -a Automatically initialize elaboration procedure");
+ Write_Eol;
+
-- Line for A switch
Write_Str (" -A Generate binder program in Ada (default)");