Module Name:    src
Committed By:   rin
Date:           Thu Aug 17 06:49:28 UTC 2023

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

Log Message:
binutils/bfd: Correct auxv offset for NetBSD, from gdb/bfd

Fallout not observed yet as far as I can see although...


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/external/gpl3/binutils/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/binutils/dist/bfd/elf.c
diff -u src/external/gpl3/binutils/dist/bfd/elf.c:1.17 src/external/gpl3/binutils/dist/bfd/elf.c:1.18
--- src/external/gpl3/binutils/dist/bfd/elf.c:1.17	Sat Dec 24 20:17:04 2022
+++ src/external/gpl3/binutils/dist/bfd/elf.c	Thu Aug 17 06:49:27 2023
@@ -11145,7 +11145,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