From: Ronan Desplanques Date: Fri, 15 Nov 2024 10:30:11 +0000 (+0100) Subject: ada: Update documentation for External_Initialization X-Git-Tag: basepoints/gcc-16~3417 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad595b3313a5c03712ad497c2bf1893c4a67f78;p=thirdparty%2Fgcc.git ada: Update documentation for External_Initialization This fixes an omission in the recent change that was made to file lookup for External_Initialization. gcc/ada/ChangeLog: * doc/gnat_rm/gnat_language_extensions.rst: Update External_Initialization section. * gnat_rm.texi: Regenerate. * gnat_ugn.texi: Regenerate. --- diff --git a/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst b/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst index 9b3de825acaa..32fa6fb8e8b9 100644 --- a/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst +++ b/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst @@ -1720,6 +1720,6 @@ Example: - mandatory ``Path``: the path the compiler uses to access the binary resource. -``Path`` is resolved according to the same rules the compiler uses for loading the source files. +If ``Path`` is a relative path, it is interpreted relatively to the directory of the file that contains the aspect specification. .. attention:: The maximum size of loaded files is limited to 2\ :sup:`31` bytes. diff --git a/gcc/ada/gnat_rm.texi b/gcc/ada/gnat_rm.texi index 849404c8e87b..ee22978b27c6 100644 --- a/gcc/ada/gnat_rm.texi +++ b/gcc/ada/gnat_rm.texi @@ -19,7 +19,7 @@ @copying @quotation -GNAT Reference Manual , Nov 18, 2024 +GNAT Reference Manual , Dec 12, 2024 AdaCore @@ -30979,7 +30979,7 @@ end P; mandatory @code{Path}: the path the compiler uses to access the binary resource. @end itemize -@code{Path} is resolved according to the same rules the compiler uses for loading the source files. +If @code{Path} is a relative path, it is interpreted relatively to the directory of the file that contains the aspect specification. @cartouche @quotation Attention diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi index a03dc7cae4bb..c856dddba909 100644 --- a/gcc/ada/gnat_ugn.texi +++ b/gcc/ada/gnat_ugn.texi @@ -19,7 +19,7 @@ @copying @quotation -GNAT User's Guide for Native Platforms , Nov 26, 2024 +GNAT User's Guide for Native Platforms , Dec 12, 2024 AdaCore @@ -29839,8 +29839,8 @@ to permit their use in free software. @printindex ge -@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{ } @anchor{d2}@w{ } +@anchor{gnat_ugn/gnat_utility_programs switches-related-to-project-files}@w{ } @c %**end of body @bye