summaryrefslogtreecommitdiff
path: root/gcc/ada/s-stalib.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-stalib.adb')
-rw-r--r--gcc/ada/s-stalib.adb11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ada/s-stalib.adb b/gcc/ada/s-stalib.adb
index 71fb5ccffc3..189cfa14c00 100644
--- a/gcc/ada/s-stalib.adb
+++ b/gcc/ada/s-stalib.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- $Revision: 1.17 $
+-- $Revision$
-- --
-- Copyright (C) 1995-2001 Free Software Foundation, Inc. --
-- --
@@ -46,14 +46,17 @@ pragma Polling (Off);
-- elaboration circularities with Ada.Exceptions if polling is on.
with System.Soft_Links;
--- Referenced directly from generated code
--- Also referenced from exception handling routines.
+-- Referenced directly from generated code using external symbols so it
+-- must always be present in a build, even if no unit has a direct with
+-- of this unit. Also referenced from exception handling routines.
-- This is needed for programs that don't use exceptions explicitely but
-- direct calls to Ada.Exceptions are generated by gigi (for example,
-- by calling __gnat_raise_constraint_error directly).
with System.Memory;
--- Referenced directly from generated code
+-- Referenced directly from generated code using external symbols, so it
+-- must always be present in a build, even if no unit has a direct with
+-- of this unit.
package body System.Standard_Library is