Add a pseudosection for the NT_FREEBSD_THRMISC note.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 14 Dec 2015 06:47:25 +0000 (22:47 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 16:15:08 +0000 (08:15 -0800)
bfd/ChangeLog:

* elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.

bfd/ChangeLog
bfd/elf.c

index c2c8e1e2821366ee2960d7eb216fcc490a221a77..ed99d928804a227e583960ad56d4c2880774e754 100644 (file)
@@ -1,3 +1,7 @@
+2016-01-19  John Baldwin  <jhb@FreeBSD.org>
+
+       * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
+
 2016-01-18  Miranda Cupertino  <Cupertino.Miranda@synopsys.com>
            Zissulescu Claudiu  <Claudiu.Zissulescu@synopsys.com>
 
index a1f857a900b44c9bf18617db43a9738f9e100dcd..b2a50bff3e76dc942c45ee83ef183b0780e04f10 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -9287,6 +9287,13 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note)
     case NT_SIGINFO:
       return elfcore_make_note_pseudosection (abfd, ".note.linuxcore.siginfo",
                                              note);
+
+    case NT_FREEBSD_THRMISC:
+      if (note->namesz == 8
+         && strcmp (note->namedata, "FreeBSD") == 0)
+       return elfcore_make_note_pseudosection (abfd, ".thrmisc", note);
+      else
+       return TRUE;
     }
 }
 
This page took 0.030349 seconds and 4 git commands to generate.