mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-12 16:20:06 +00:00
Fix conditional on using DSOCAPS to match condition on defining it.
This commit is contained in:
parent
a35cbf28fb
commit
c0f4faf046
@ -1,3 +1,8 @@
|
||||
2012-08-20 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
|
||||
DSOCAPS to match condition on defining it.
|
||||
|
||||
2012-08-20 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/kernel-features.h
|
||||
|
@ -420,7 +420,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
|
||||
/* Create temporary data structure to generate result table. */
|
||||
temp = (struct r_strlenpair *) alloca (cnt * sizeof (*temp));
|
||||
m = 0;
|
||||
#if defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO
|
||||
#if (defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO) && defined SHARED
|
||||
if (dsocaps != NULL)
|
||||
{
|
||||
const ElfW(Word) mask = ((const ElfW(Word) *) dsocaps)[-1];
|
||||
|
Loading…
Reference in New Issue
Block a user