diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
index 48e47eb83368f8f44b69d23861336468125174b4..4f46fba93aef7d5ac40e5a7a182d32d3f12ba156 100644
--- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
+++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
@@ -6747,7 +6747,7 @@ be presented in subsequent sections.
   .. index:: -o   (gnatbind)
 
 :switch:`-o {file}`
-  Name the output file ``file`` (default is :file:`b~`xxx`.adb`).
+  Name the output file ``file`` (default is :file:`b~{xxx}.adb`).
   Note that if this option is used, then linking must be done manually,
   gnatlink cannot be used.
 
diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 544d73e7f362e85faeb0dc6ad686d229417a99a7..252b32f74ae81e9f53d8ed648d3ed0075d85d4ed 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 , Dec 12, 2024
+GNAT User's Guide for Native Platforms , Jan 03, 2025
 
 AdaCore
 
@@ -16077,7 +16077,7 @@ equivalent @code{gnatmake} flag (@ref{d1,,Switches for gnatmake}).
 
 @item @code{-o `file'}
 
-Name the output file @code{file} (default is @code{b~`xxx}.adb`).
+Name the output file @code{file} (default is @code{b~`xxx'.adb}).
 Note that if this option is used, then linking must be done manually,
 gnatlink cannot be used.