binde.adb (Elab_All_Links): Remove unnecessary call to Generic_Separately_Compiled...
authorThomas Quinot <quinot@adacore.com>
Tue, 14 Aug 2007 08:45:05 +0000 (10:45 +0200)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 14 Aug 2007 08:45:05 +0000 (10:45 +0200)
commit9410151a22e5a54497fcc44bf30dccf3569441e0
treed0e7a73386d172b2419d7f2ead4f393e6d2ab8d5
parent5e1527bd5913aa38b5975022665985773747127a
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
gcc/ada/binde.adb
gcc/ada/bindgen.adb
gcc/ada/lib-writ.adb
gcc/ada/lib-writ.ads
gcc/ada/lib.adb