aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-01-19 13:50:25 +0000
committerAlan Modra <amodra@gmail.com>2010-01-19 13:50:25 +0000
commitc75a08aa7c3ae2b586e5f29f00e01b702a9b5f3d (patch)
tree7638d7a241b9bd737dfe2502d712a1d0cef91ab0
parent2b71fc8effa6a6eeb2d539f1101a77011e92e17b (diff)
downloadgdb-c75a08aa7c3ae2b586e5f29f00e01b702a9b5f3d.zip
gdb-c75a08aa7c3ae2b586e5f29f00e01b702a9b5f3d.tar.gz
gdb-c75a08aa7c3ae2b586e5f29f00e01b702a9b5f3d.tar.bz2
* common.h (PN_XNUM): Define.
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 127f765..ee204cc 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
+
+ * common.h (PN_XNUM): Define.
+
2009-12-18 Ulrich Weigand <uweigand@de.ibm.com>
* common.h (NT_S390_HIGH_GPRS): Define.
diff --git a/include/elf/common.h b/include/elf/common.h
index 361703d..703916e 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, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
Written by Fred Fish @ Cygnus Support, from information published
@@ -405,6 +405,9 @@
#define EV_NONE 0 /* Invalid ELF version */
#define EV_CURRENT 1 /* Current version */
+/* Value for e_phnum. */
+#define PN_XNUM 0xffff /* Extended numbering */
+
/* Values for program header, p_type field. */
#define PT_NULL 0 /* Program header table entry unused */