mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-24 12:25:35 +08:00
Fix build with HAVE_AUX_VECTOR
* sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before including <ldsodefs.h>. * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
This commit is contained in:
parent
0cdc5e930a
commit
e1ef505659
@ -4,6 +4,9 @@
|
||||
[!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
|
||||
* misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
|
||||
GLRO(dl_auxv) list.
|
||||
* sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
|
||||
including <ldsodefs.h>.
|
||||
* sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
|
||||
|
||||
2016-04-09 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
|
@ -18,14 +18,14 @@
|
||||
|
||||
#ifndef _LDSODEFS_H
|
||||
|
||||
/* We have the auxiliary vector. */
|
||||
#define HAVE_AUX_VECTOR 1
|
||||
|
||||
/* Get the real definitions. */
|
||||
#include_next <ldsodefs.h>
|
||||
|
||||
/* Now define our stuff. */
|
||||
|
||||
/* We have the auxiliary vector. */
|
||||
#define HAVE_AUX_VECTOR 1
|
||||
|
||||
/* Used by static binaries to check the auxiliary vector. */
|
||||
extern void _dl_aux_init (ElfW(auxv_t) *av) internal_function;
|
||||
|
||||
|
@ -18,12 +18,12 @@
|
||||
|
||||
#ifndef _LDSODEFS_H
|
||||
|
||||
/* Get the real definitions. */
|
||||
#include_next <ldsodefs.h>
|
||||
|
||||
/* We have the auxiliary vector. */
|
||||
#define HAVE_AUX_VECTOR
|
||||
|
||||
/* Get the real definitions. */
|
||||
#include_next <ldsodefs.h>
|
||||
|
||||
/* We can assume that the kernel always provides the AT_UID, AT_EUID,
|
||||
AT_GID, and AT_EGID values in the auxiliary vector from 2.4.0 or so on. */
|
||||
#define HAVE_AUX_XID
|
||||
|
Loading…
Reference in New Issue
Block a user