mirror of git://sourceware.org/git/glibc.git
Add new ELF constant PN_XNUM.
This commit is contained in:
parent
4472e1de30
commit
d5ea695b42
|
@ -1,5 +1,7 @@
|
||||||
2010-01-07 Roland McGrath <roland@redhat.com>
|
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
|
* elf/dl-sysdep.c (_dl_important_hwcaps): Use NT_GNU_HWCAP instead of
|
||||||
literal 2.
|
literal 2.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* This file defines standard ELF types, structures, and macros.
|
/* 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.
|
Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
|
@ -558,6 +558,12 @@ typedef struct
|
||||||
Elf64_Xword p_align; /* Segment alignment */
|
Elf64_Xword p_align; /* Segment alignment */
|
||||||
} Elf64_Phdr;
|
} 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). */
|
/* Legal values for p_type (segment type). */
|
||||||
|
|
||||||
#define PT_NULL 0 /* Program header table entry unused */
|
#define PT_NULL 0 /* Program header table entry unused */
|
||||||
|
|
Loading…
Reference in New Issue