Add a pseudosection for the NT_FREEBSD_THRMISC note.
bfd/ChangeLog: * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
This commit is contained in:
parent
f4ddf30f11
commit
5b2c414df1
|
@ -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>
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue