aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/doc/gnat_ugn
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2023-06-20 17:29:41 +0300
committerMarc Poulhiès <poulhies@adacore.com>2023-07-06 13:36:10 +0200
commitd4fea89d289d45aa6811b9e1fa6d40ba9f28dd60 (patch)
tree4ed632dd9aed22109e12ed1d933d757d8f2fcd99 /gcc/ada/doc/gnat_ugn
parentdb01ce5381fc38c50454b544d6692d2b7e39ac29 (diff)
downloadgcc-d4fea89d289d45aa6811b9e1fa6d40ba9f28dd60.zip
gcc-d4fea89d289d45aa6811b9e1fa6d40ba9f28dd60.tar.gz
gcc-d4fea89d289d45aa6811b9e1fa6d40ba9f28dd60.tar.bz2
ada: Refer to non-Ada binding limitations in user guide
The limitation of resetting the FPU mode for non 80-bit precision was not referenced from "Creating a Stand-alone Library to be used in a non-Ada context". Reference it the same way it is already referenced from "Interfacing to C". gcc/ada/ * doc/gnat_ugn/the_gnat_compilation_model.rst: Reference "Binding with Non-Ada Main Programs" from "Creating a Stand-alone Library to be used in a non-Ada context". * gnat_ugn.texi: Regenerate.
Diffstat (limited to 'gcc/ada/doc/gnat_ugn')
-rw-r--r--gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst b/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst
index e4639d9..148d408 100644
--- a/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst
+++ b/gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst
@@ -2331,6 +2331,9 @@ finalization of all Ada libraries must be performed at the end of the program.
No call to these libraries or to the Ada run-time library should be made
after the finalization phase.
+Information on limitations of binding Ada code in non-Ada contexts can be
+found under :ref:`Binding_with_Non-Ada_Main_Programs`.
+
Note also that special care must be taken with multi-tasks
applications. The initialization and finalization routines are not
protected against concurrent access. If such requirement is needed it