summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-01-09 18:59:11 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-01-09 18:59:11 +0000
commit6cc50aa5c8395bdde8ea445156e64afbf9a8eb4c (patch)
tree6d9664a5709cbaed6e2cf44c9b054f3f5bf7c1e8 /include
parentf607045dbcec0f24a3293d9a028f5bbf9e0bd8f8 (diff)
downloadgdb-6cc50aa5c8395bdde8ea445156e64afbf9a8eb4c.tar.gz
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')
-rw-r--r--include/elf/ChangeLog6
-rw-r--r--include/elf/common.h10
2 files changed, 15 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 068a4b6696c..ae780e20cc1 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,9 @@
+2002-01-09 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * common.h: Update copyright years.
+ (NT_NETBSDCORE_PROCINFO): Define.
+ (NT_NETBSDCORE_FIRSTMACH): Define.
+
2002-01-06 Steve Ellcey <sje@cup.hp.com>
* ia64.h (ELF_STRING_ia64_unwind_hdr): New Macro for HP-UX.
diff --git a/include/elf/common.h b/include/elf/common.h
index 39ba05a0f75..289d3f2add2 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. */