Module Name:    src
Committed By:   rin
Date:           Thu Aug 17 06:44:57 UTC 2023

Modified Files:
        src/external/gpl3/gdb/dist/bfd: elf.c

Log Message:
gdb/bfd: Fix auxv offset for NetBSD, lost during merge


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gdb/dist/bfd/elf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/bfd/elf.c
diff -u src/external/gpl3/gdb/dist/bfd/elf.c:1.14 src/external/gpl3/gdb/dist/bfd/elf.c:1.15
--- src/external/gpl3/gdb/dist/bfd/elf.c:1.14	Mon Jul 31 16:59:49 2023
+++ src/external/gpl3/gdb/dist/bfd/elf.c	Thu Aug 17 06:44:56 2023
@@ -11151,7 +11151,7 @@ elfcore_grok_netbsd_note (bfd *abfd, Elf
       return elfcore_grok_netbsd_procinfo (abfd, note);
     case NT_NETBSDCORE_AUXV:
       /* NetBSD-specific Elf Auxiliary Vector data. */
-      return elfcore_make_auxv_note_section (abfd, note, 4);
+      return elfcore_make_auxv_note_section (abfd, note, 0);
     case NT_NETBSDCORE_LWPSTATUS:
       return elfcore_make_note_pseudosection (abfd,
 					      ".note.netbsdcore.lwpstatus",

Reply via email to