From d4fea89d289d45aa6811b9e1fa6d40ba9f28dd60 Mon Sep 17 00:00:00 2001 From: Viljar Indus Date: Tue, 20 Jun 2023 17:29:41 +0300 Subject: 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. --- gcc/ada/doc/gnat_ugn/the_gnat_compilation_model.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/ada/doc/gnat_ugn') 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 -- cgit v1.1