Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gdb/dist/bfd remove mis-merged code and make t...
details: https://anonhg.NetBSD.org/src/rev/af75e6cf1c86
branches: trunk
changeset: 938914:af75e6cf1c86
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 19 21:47:03 2020 +0000
description:
remove mis-merged code and make the auxv core offset 0. Now loading auxv
from core files works.
diffstat:
external/gpl3/gdb/dist/bfd/elf.c | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diffs (33 lines):
diff -r ec6b87836632 -r af75e6cf1c86 external/gpl3/gdb/dist/bfd/elf.c
--- a/external/gpl3/gdb/dist/bfd/elf.c Sat Sep 19 21:45:45 2020 +0000
+++ b/external/gpl3/gdb/dist/bfd/elf.c Sat Sep 19 21:47:03 2020 +0000
@@ -10893,7 +10893,7 @@
#ifdef NT_NETBSDCORE_AUXV
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);
#endif
#ifdef NT_NETBSDCORE_LWPSTATUS
case NT_NETBSDCORE_LWPSTATUS:
@@ -11023,20 +11023,6 @@
if (note->type == NT_OPENBSD_AUXV)
return elfcore_make_auxv_note_section (abfd, note, 0);
- if (note->type == NT_OPENBSD_WCOOKIE)
- {
- asection *sect = bfd_make_section_anyway_with_flags (abfd, ".wcookie",
- SEC_HAS_CONTENTS);
-
- if (sect == NULL)
- return FALSE;
- sect->size = note->descsz;
- sect->filepos = note->descpos;
- sect->alignment_power = 1 + bfd_get_arch_size (abfd) / 32;
-
- return TRUE;
- }
-
return TRUE;
}
Home |
Main Index |
Thread Index |
Old Index