* 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 950890c..feec9c6 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 31003d7..04b6894 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