Create pseudo sections for FreeBSD NT_PTLWPINFO core notes.

bfd/ChangeLog:

	* elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PTLWPINFO.
This commit is contained in:
John Baldwin 2017-06-28 12:47:14 -07:00
parent 0b9305edf1
commit e6f3b9c319
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-07-07 John Baldwin <jhb@FreeBSD.org>
* elf.c (elfcore_grok_freebsd_note): Handle NT_FREEBSD_PTLWPINFO.
2017-07-07 Alan Modra <amodra@gmail.com>
* coffcode.h (coff_slurp_symbol_table): Handle C_AIX_WEAKEXT.

View File

@ -9980,6 +9980,10 @@ elfcore_grok_freebsd_note (bfd *abfd, Elf_Internal_Note *note)
else
return TRUE;
case NT_FREEBSD_PTLWPINFO:
return elfcore_make_note_pseudosection (abfd, ".note.freebsdcore.lwpinfo",
note);
default:
return TRUE;
}