From 7720ba9f5c9f26d6e37b265ea165bea5c992d0dd Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 27 Nov 2003 12:28:35 +0000 Subject: [PATCH] * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out of the note. --- bfd/ChangeLog | 5 +++++ bfd/elf.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 950890cce72..feec9c61f13 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-11-27 Mark Kettenis + + * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out + of the note. + 2003-11-26 Daniel Jacobowitz Richard Sandiford diff --git a/bfd/elf.c b/bfd/elf.c index 31003d7508a..04b68943533 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -6835,7 +6835,8 @@ elfcore_grok_netbsd_procinfo (bfd *abfd, Elf_Internal_Note *note) elf_tdata (abfd)->core_command = _bfd_elfcore_strndup (abfd, note->descdata + 0x7c, 31); - return TRUE; + return elfcore_make_note_pseudosection (abfd, ".note.netbsdcore.procinfo", + note); } static bfd_boolean -- 2.30.2