about summary refs log tree commit diff
path: root/elf/dl-support.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-support.c
parent4e9b5995775c99e029ed4003aaddb88bfbf8e2cd (diff)
downloadglibc-7775448e570a2bd77886548fc3e9af5007814a8b.tar.gz
glibc-7775448e570a2bd77886548fc3e9af5007814a8b.tar.xz
glibc-7775448e570a2bd77886548fc3e9af5007814a8b.zip
Fix NEED_DL_SYSINFO_DSO conditionals.
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r--elf/dl-support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c
index 507568784b..b2bf31264e 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -158,7 +158,7 @@ struct dl_scope_free_list *_dl_scope_free_list;
 /* Needed for improved syscall handling on at least x86/Linux.  */
 uintptr_t _dl_sysinfo = DL_SYSINFO_DEFAULT;
 #endif
-#if defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO
+#ifdef NEED_DL_SYSINFO_DSO
 /* Address of the ELF headers in the vsyscall page.  */
 const ElfW(Ehdr) *_dl_sysinfo_dso;
 
@@ -217,7 +217,7 @@ _dl_aux_init (ElfW(auxv_t) *av)
 	GL(dl_sysinfo) = av->a_un.a_val;
 	break;
 #endif
-#if defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO
+#ifdef NEED_DL_SYSINFO_DSO
       case AT_SYSINFO_EHDR:
 	GL(dl_sysinfo_dso) = (void *) av->a_un.a_val;
 	break;