From: Ronan Desplanques <desplanq...@adacore.com>

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.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/doc/gnat_rm/gnat_language_extensions.rst | 2 +-
 gcc/ada/gnat_rm.texi                             | 4 ++--
 gcc/ada/gnat_ugn.texi                            | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst 
b/gcc/ada/doc/gnat_rm/gnat_language_extensions.rst
index 9b3de825aca..32fa6fb8e8b 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 849404c8e87..ee22978b27c 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 a03dc7cae4b..c856dddba90 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
-- 
2.43.0

Reply via email to