aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/bindgen.adb
diff options
context:
space:
mode:
authorThomas Quinot <quinot@adacore.com>2007-08-14 10:45:05 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-08-14 10:45:05 +0200
commit9410151a22e5a54497fcc44bf30dccf3569441e0 (patch)
treed0e7a73386d172b2419d7f2ead4f393e6d2ab8d5 /gcc/ada/bindgen.adb
parent5e1527bd5913aa38b5975022665985773747127a (diff)
downloadgcc-9410151a22e5a54497fcc44bf30dccf3569441e0.zip
gcc-9410151a22e5a54497fcc44bf30dccf3569441e0.tar.gz
gcc-9410151a22e5a54497fcc44bf30dccf3569441e0.tar.bz2
binde.adb (Elab_All_Links): Remove unnecessary call to Generic_Separately_Compiled (if...
2007-08-14 Thomas Quinot <quinot@adacore.com> Vincent Celier <celier@adacore.com> * binde.adb (Elab_All_Links): Remove unnecessary call to Generic_Separately_Compiled (if a unit satisfies this predicate, there won't be an associated Afile). (Elab_All_Links): Fail if a referenced unit cannot be found * bindgen.adb: Fix comments in bindgen regarding consistency checks done in Bcheck: the checks are made across units within a partition, not across several partitions. Fix generation of C binder file for VxWorks. * lib.adb (Generic_Separately_Compiled): Rename to Generic_May_Lack_ALI, more descriptive of the current use of the predicate, and update documentation. * lib-writ.ads, lib-writ.adb (Write_With_Lines): Minor code reorganization and documentation update for the case of predefined library generics (for which we do not reference an Afile). From-SVN: r127439
Diffstat (limited to 'gcc/ada/bindgen.adb')
-rw-r--r--gcc/ada/bindgen.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/ada/bindgen.adb b/gcc/ada/bindgen.adb
index c5ae10f..e515992 100644
--- a/gcc/ada/bindgen.adb
+++ b/gcc/ada/bindgen.adb
@@ -77,7 +77,7 @@ package body Bindgen is
-- This table assembles the interface state pragma information from
-- all the units in the partition. Note that Bcheck has already checked
- -- that the information is consistent across partitions. The entries
+ -- that the information is consistent across units. The entries
-- in this table are n/u/r/s for not set/user/runtime/system.
package IS_Pragma_Settings is new Table.Table (
@@ -90,7 +90,7 @@ package body Bindgen is
-- This table assembles the Priority_Specific_Dispatching pragma
-- information from all the units in the partition. Note that Bcheck has
- -- already checked that the information is consistent across partitions.
+ -- already checked that the information is consistent across units.
-- The entries in this table are the upper case first character of the
-- policy name, e.g. 'F' for FIFO_Within_Priorities.
@@ -1590,7 +1590,6 @@ package body Bindgen is
-- if no command line arguments on target, set dummy values
else
- WBI (" int result;");
WBI (" gnat_argc = 0;");
WBI (" gnat_argv = 0;");
WBI (" gnat_envp = 0;");