aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */