mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
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:
@ -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>
|
2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
|
||||||
Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
|
Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
|
||||||
|
|
||||||
|
@ -9287,6 +9287,13 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note)
|
|||||||
case NT_SIGINFO:
|
case NT_SIGINFO:
|
||||||
return elfcore_make_note_pseudosection (abfd, ".note.linuxcore.siginfo",
|
return elfcore_make_note_pseudosection (abfd, ".note.linuxcore.siginfo",
|
||||||
note);
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user