* elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
authorMark Kettenis <kettenis@gnu.org>
Thu, 27 Nov 2003 12:28:35 +0000 (12:28 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 27 Nov 2003 12:28:35 +0000 (12:28 +0000)
of the note.

bfd/ChangeLog
bfd/elf.c

index 950890cce724cb99c4e3c210dc98a949edc1ceec..feec9c61f134de7cc9af8fe52365a56095ba9669 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
+       of the note.
+
 2003-11-26  Daniel Jacobowitz  <drow@mvista.com>
             Richard Sandiford  <rsandifo@redhat.com>
 
index 31003d7508a37910a864ae01e1a46e8c6bf9e354..04b689435334e60cdc63c9f2e09114a06efb4772 100644 (file)
--- 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