Add support to readelf for reading FreeBSD ELF core notes.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 14 Dec 2015 06:26:19 +0000 (22:26 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 19 Jan 2016 16:15:08 +0000 (08:15 -0800)
commitf4ddf30f1108b2c0b3eee5677c912383ac903256
tree9c1a43f4889eec4ffeda5cb6a7fb56a8080c6520
parent10e3ed9029dc0b6eafcd991d9f292fc079f80cf5
Add support to readelf for reading FreeBSD ELF core notes.

binutils/ChangeLog:

* readelf.c (get_freebsd_elfcore_note_type): New
(process_note): Add support for FreeBSD core notes.

include/ChangeLog:

* elf/common.h (NT_FREEBSD_THRMISC): Define.
(NT_FREEBSD_PROCSTAT_PROC): Define.
(NT_FREEBSD_PROCSTAT_FILES): Define.
(NT_FREEBSD_PROCSTAT_VMMAP): Define.
(NT_FREEBSD_PROCSTAT_GROUPS): Define.
(NT_FREEBSD_PROCSTAT_UMASK): Define.
(NT_FREEBSD_PROCSTAT_RLIMIT): Define.
(NT_FREEBSD_PROCSTAT_OSREL): Define.
(NT_FREEBSD_PROCSTAT_PSSTRINGS): Define.
(NT_FREEBSD_PROCSTAT_AUXV): Define.
binutils/ChangeLog
binutils/readelf.c
include/ChangeLog
include/elf/common.h