From d8d5895e420d4976fca22b9bd9e1edc3094ebf30 Mon Sep 17 00:00:00 2001 From: joseph Date: Sat, 26 May 2012 17:46:57 +0000 Subject: Merge changes between r18519 and r18730 from /fsf/trunk. git-svn-id: svn://svn.eglibc.org/trunk@18731 7b3dc134-2b1b-0410-93df-9e9f96275f8d --- libc/sysdeps/generic/bits/hwcap.h | 23 +++++++++++++++++++++++ libc/sysdeps/generic/ldsodefs.h | 3 +++ libc/sysdeps/generic/stackguard-macros.h | 4 ++++ 3 files changed, 30 insertions(+) create mode 100644 libc/sysdeps/generic/bits/hwcap.h create mode 100644 libc/sysdeps/generic/stackguard-macros.h (limited to 'libc/sysdeps/generic') diff --git a/libc/sysdeps/generic/bits/hwcap.h b/libc/sysdeps/generic/bits/hwcap.h new file mode 100644 index 000000000..b27d2febb --- /dev/null +++ b/libc/sysdeps/generic/bits/hwcap.h @@ -0,0 +1,23 @@ +/* Defines for bits in AT_HWCAP. + Copyright (C) 2012 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _SYS_AUXV_H +# error "Never include directly; use instead." +#endif + +/* No bits defined for this architecture. */ diff --git a/libc/sysdeps/generic/ldsodefs.h b/libc/sysdeps/generic/ldsodefs.h index 16bcfd10c..40fdf3c27 100644 --- a/libc/sysdeps/generic/ldsodefs.h +++ b/libc/sysdeps/generic/ldsodefs.h @@ -605,6 +605,9 @@ struct rtld_global_ro /* Mask for important hardware capabilities we honour. */ EXTERN uint64_t _dl_hwcap_mask; + /* Pointer to the auxv list supplied to the program at startup. */ + EXTERN ElfW(auxv_t) *_dl_auxv; + /* Get architecture specific definitions. */ #define PROCINFO_DECL #ifndef PROCINFO_CLASS diff --git a/libc/sysdeps/generic/stackguard-macros.h b/libc/sysdeps/generic/stackguard-macros.h new file mode 100644 index 000000000..ababf65d3 --- /dev/null +++ b/libc/sysdeps/generic/stackguard-macros.h @@ -0,0 +1,4 @@ +#include + +extern uintptr_t __stack_chk_guard; +#define STACK_CHK_GUARD __stack_chk_guard -- cgit v1.2.3