summaryrefslogtreecommitdiff
path: root/elf/dl-hwcaps.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-03-01 14:44:44 -0800
committerRoland McGrath <roland@hack.frob.com>2013-03-01 14:44:44 -0800
commit7775448e570a2bd77886548fc3e9af5007814a8b (patch)
tree72e6ee8881f2d600d6f89cc02c55072246e63ea8 /elf/dl-hwcaps.c
parent4e9b5995775c99e029ed4003aaddb88bfbf8e2cd (diff)
Fix NEED_DL_SYSINFO_DSO conditionals.
Diffstat (limited to 'elf/dl-hwcaps.c')
-rw-r--r--elf/dl-hwcaps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-hwcaps.c b/elf/dl-hwcaps.c
index d3214e5dc4..8d49383d76 100644
--- a/elf/dl-hwcaps.c
+++ b/elf/dl-hwcaps.c
@@ -51,7 +51,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
if ((masked & (1ULL << n)) != 0)
++cnt;
-#if defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO
+#ifdef NEED_DL_SYSINFO_DSO
/* The system-supplied DSO can contain a note of type 2, vendor "GNU".
This gives us a list of names to treat as fake hwcap bits. */
@@ -104,7 +104,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
/* Create temporary data structure to generate result table. */
struct r_strlenpair temp[cnt];
m = 0;
-#if defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO
+#ifdef NEED_DL_SYSINFO_DSO
if (dsocaps != NULL)
{
const ElfW(Word) mask = ((const ElfW(Word) *) dsocaps)[-1];