[PATCH] Fix typos in binutils/dwarf.c

vladimir.mezentsev@oracle.com vladimir.mezentsev@oracle.com
Mon Jun 30 01:33:39 GMT 2025


From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>

I added ChangeLog and another fix to my previous patch.

 


binutils/ChangeLog
2025-06-29  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>

	* dwarf.c: Change "/usrlib64/debug/usr" to "/usr/lib64/debug/usr/" and
	.gun_debugaltlink to .gnu_debugaltlink.
---
 binutils/dwarf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 5b3ece58c8b..8806cde2044 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -10930,7 +10930,7 @@ display_debug_links (struct dwarf_section *  section,
       (padding)   If needed to reach a 4 byte boundary.
       (uint32_t)  CRC32 value.
 
-    The .gun_debugaltlink section is formatted as:
+    The .gnu_debugaltlink section is formatted as:
       (c-string)  Filename.
       (binary)    Build-ID.  */
 
@@ -12330,7 +12330,7 @@ load_build_id_debug_file (const char * main_filename ATTRIBUTE_UNUSED, void * ma
 		      + strlen (".debug")
 		      /* The next string should be the same as the longest
 			 name found in the prefixes[] array below.  */
-		      + strlen ("/usrlib64/debug/usr")
+		      + strlen ("/usr/lib64/debug/usr/")
 		      + 1);
   void * handle;
 
@@ -12341,7 +12341,7 @@ load_build_id_debug_file (const char * main_filename ATTRIBUTE_UNUSED, void * ma
       "/usr/lib/debug/",
       "/usr/lib/debug/usr/",
       "/usr/lib64/debug/",
-      "/usr/lib64/debug/usr"
+      "/usr/lib64/debug/usr/"
     };
   long unsigned int i;
 
-- 
2.43.5



More information about the Binutils mailing list