This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Ada] Fix incorrect comments at top of mlib-tgt.ad[bs]
- From: Ludovic Brenta <ludovic at ludovic-brenta dot org>
- To: gcc-patches at gcc dot gnu dot org
- Subject: [Ada] Fix incorrect comments at top of mlib-tgt.ad[bs]
2007-12-07 Ludovic Brenta <ludovic@ludovic-brenta.org>
PR ada/34261
* gcc/ada/mlib-tgt.ad[bs]: fix comments at the top to reflect the new
implementation of target-specific calls.
diff --git a/gcc/ada/mlib-tgt.adb b/gcc/ada/mlib-tgt.adb
index 9d75838..e7cee9e 100644
--- a/gcc/ada/mlib-tgt.adb
+++ b/gcc/ada/mlib-tgt.adb
@@ -23,10 +23,6 @@
-- --
------------------------------------------------------------------------------
--- This is the default version which does not support libraries.
--- All subprograms are dummies, because they are never called,
--- except Support_For_Libraries which returns None.
-
with MLib.Fil;
with Prj.Com;
diff --git a/gcc/ada/mlib-tgt.ads b/gcc/ada/mlib-tgt.ads
index e80f166..ad31788 100644
--- a/gcc/ada/mlib-tgt.ads
+++ b/gcc/ada/mlib-tgt.ads
@@ -24,12 +24,10 @@
------------------------------------------------------------------------------
-- This package provides a set of target dependent routines to build
--- static, dynamic and shared libraries.
-
--- There are several versions for the body of this package
-
--- In the default version, libraries are not supported, so function
--- Support_For_Libraries return None.
+-- static, dynamic and shared libraries. There are several packages
+-- providing the actual routines; this package calls them indirectly
+-- by means of access-to-subprogram values; each target-dependent
+-- package initializes these values in its elaboration block.
with Prj; use Prj;