https://gcc.gnu.org/g:0255aae2a4e3f52c747d6a0aea3df9023f295a09

commit r17-795-g0255aae2a4e3f52c747d6a0aea3df9023f295a09
Author: Piotr Trojanek <[email protected]>
Date:   Thu Feb 12 13:07:30 2026 +0100

    ada: Copy documentation of gnatdll -m switch from its help message
    
    Switch -m was only documented in gnatdll help message. Now this 
documentation,
    while brief, is copied into GNAT User's Guide.
    
    gcc/ada/ChangeLog:
    
            * doc/gnat_ugn/platform_specific_information.rst
            (Using gnatdll): Document switch -m.
            * gnat_ugn.texi: Regenerate.

Diff:
---
 gcc/ada/doc/gnat_ugn/platform_specific_information.rst | 6 ++++++
 gcc/ada/gnat_ugn.texi                                  | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/gcc/ada/doc/gnat_ugn/platform_specific_information.rst 
b/gcc/ada/doc/gnat_ugn/platform_specific_information.rst
index 6493a065960d..c7d497eb96d3 100644
--- a/gcc/ada/doc/gnat_ugn/platform_specific_information.rst
+++ b/gcc/ada/doc/gnat_ugn/platform_specific_information.rst
@@ -1617,6 +1617,12 @@ You may specify any of the following switches to 
``gnatdll``:
   ``file`` contains the name of an ALI or object file.
 
 
+  .. index:: -m (gnatdll)
+
+:switch:`-m`
+  Generate map file
+
+
   .. index:: -n (gnatdll)
 
 :switch:`-n`
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 3381c21039f4..f44b727ad4a7 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -25254,6 +25254,12 @@ The list of ALI and object files used to build the DLL 
are listed in
 @code{file}, instead of being given in the command line. Each line in
 @code{file} contains the name of an ALI or object file.
 
+@geindex -m (gnatdll)
+
+@item @code{-m}
+
+Generate map file
+
 @geindex -n (gnatdll)
 
 @item @code{-n}

Reply via email to