From: Vladimir Mezentsev Date: Sun, 29 Jun 2025 23:45:13 +0000 (-0700) Subject: Fix typos in binutils/dwarf.c X-Git-Tag: binutils-2_45~207 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88c66eca24b5fae7d411a2dda342e5a87f4a2d72;p=thirdparty%2Fbinutils-gdb.git Fix typos in binutils/dwarf.c binutils/ChangeLog 2025-06-29 Vladimir Mezentsev * dwarf.c: Change "/usrlib64/debug/usr" to "/usr/lib64/debug/usr/" and .gun_debugaltlink to .gnu_debugaltlink. --- 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;