From c6056a744af028824797e769ddb71927740be88a Mon Sep 17 00:00:00 2001 From: Stephen Fisher Date: Tue, 27 Oct 2015 11:32:38 +0000 Subject: Add support to readelf for reading NetBSD ELF core notes. binutils * binutils.c (process_netbsd_elf_note): New function. (process_note): Call the new function for NetBSD core notes. include * common.h (NT_NETBSD_MARCH): Define. --- include/elf/ChangeLog | 4 ++++ include/elf/common.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 08b6701..8b354e1 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2015-10-27 Stephen Fisher + + * common.h (NT_NETBSD_MARCH): Define. + 2015-10-22 H.J. Lu * x86-64.h (R_X86_64_GOTPCRELX): New. diff --git a/include/elf/common.h b/include/elf/common.h index bb15b7d..5c20c5e 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -642,6 +642,7 @@ /* Values for NetBSD .note.netbsd.ident notes. Note name is "NetBSD". */ #define NT_NETBSD_IDENT 1 +#define NT_NETBSD_MARCH 5 /* Values for OpenBSD .note.openbsd.ident notes. Note name is "OpenBSD". */ -- cgit v1.1