diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-20 09:51:04 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-20 09:51:04 -0700 |
commit | c0f4faf046c6bab77200a6e78f35980887ceb445 (patch) | |
tree | 419f2eef5e8ab0a79bd98af1c6c8ca53cc76095e /elf/dl-sysdep.c | |
parent | a35cbf28fb4ecfa2d36c1466b4068a7223ffe34f (diff) | |
download | glibc-c0f4faf046c6bab77200a6e78f35980887ceb445.zip glibc-c0f4faf046c6bab77200a6e78f35980887ceb445.tar.gz glibc-c0f4faf046c6bab77200a6e78f35980887ceb445.tar.bz2 |
Fix conditional on using DSOCAPS to match condition on defining it.
Diffstat (limited to 'elf/dl-sysdep.c')
-rw-r--r-- | elf/dl-sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-sysdep.c b/elf/dl-sysdep.c index e2a9d93..7d22839 100644 --- a/elf/dl-sysdep.c +++ b/elf/dl-sysdep.c @@ -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]; |