]> sourceware.org Git - glibc.git/commitdiff
Add new ELF constant PN_XNUM.
authorRoland McGrath <roland@redhat.com>
Fri, 8 Jan 2010 02:48:32 +0000 (18:48 -0800)
committerRoland McGrath <roland@redhat.com>
Fri, 8 Jan 2010 02:48:32 +0000 (18:48 -0800)
ChangeLog
elf/elf.h

index dbdf9214ec7c5806da7bddcfb8d599b6ee156ea2..85e07535f28c8078923fa4ddf6370c52c6b310a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-01-07  Roland McGrath  <roland@redhat.com>
 
+       * elf/elf.h (PN_XNUM): New macro.
+
        * elf/dl-sysdep.c (_dl_important_hwcaps): Use NT_GNU_HWCAP instead of
        literal 2.
 
index c772ff41adae3f2999e9ebee9398e39141d1fa56..1bc8ef34898e098e25e8ff53789dd983a317ff0b 100644 (file)
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1,5 +1,5 @@
 /* This file defines standard ELF types, structures, and macros.
-   Copyright (C) 1995-2003,2004,2005,2006,2007,2008,2009
+   Copyright (C) 1995-2003,2004,2005,2006,2007,2008,2009,2010
        Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
@@ -558,6 +558,12 @@ typedef struct
   Elf64_Xword  p_align;                /* Segment alignment */
 } Elf64_Phdr;
 
+/* Special value for e_phnum.  This indicates that the real number of
+   program headers is too large to fit into e_phnum.  Instead the real
+   value is in the field sh_info of section 0.  */
+
+#define PN_XNUM                0xffff
+
 /* Legal values for p_type (segment type).  */
 
 #define        PT_NULL         0               /* Program header table entry unused */
This page took 0.059493 seconds and 5 git commands to generate.