diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-01-09 18:59:10 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@wasabisystems.com> | 2002-01-09 18:59:10 +0000 |
commit | a7173635763013879b08e1add3b852c1c36060ea (patch) | |
tree | eadb9eb12151862df518e1b79b61ac4eb8ddf7de /include/elf/common.h | |
parent | cbf7a9eb4ae4fa712ef1bfef8dad9aa4d06bc657 (diff) | |
download | cygnal-a7173635763013879b08e1add3b852c1c36060ea.tar.gz cygnal-a7173635763013879b08e1add3b852c1c36060ea.tar.bz2 cygnal-a7173635763013879b08e1add3b852c1c36060ea.zip |
include/elf:
* common.h: Update copyright years.
(NT_NETBSDCORE_PROCINFO): Define.
(NT_NETBSDCORE_FIRSTMACH): Define.
bfd:
* elf.c: Update copyright years.
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
and NT_NETBSDCORE_FIRSTMACH. Improve a comment.
bintuils:
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
Diffstat (limited to 'include/elf/common.h')
-rw-r--r-- | include/elf/common.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/elf/common.h b/include/elf/common.h index 39ba05a0f..289d3f2ad 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -1,6 +1,6 @@ /* ELF support for BFD. Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001 + 2001, 2002 Free Software Foundation, Inc. Written by Fred Fish @ Cygnus Support, from information published @@ -342,6 +342,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define NT_LWPSINFO 17 /* Has a struct lwpsinfo_t */ #define NT_WIN32PSTATUS 18 /* Has a struct win32_pstatus */ + +/* Note segments for core files on NetBSD systems. Note name + must start with "NetBSD-CORE". */ + +#define NT_NETBSDCORE_PROCINFO 1 /* Has a struct procinfo */ +#define NT_NETBSDCORE_FIRSTMACH 32 /* start of machdep note types */ + + /* Values of note segment descriptor types for object files. */ #define NT_VERSION 1 /* Contains a version string. */ |