about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2012-11-01 18:48:34 +0100
committerThomas Schwinge <thomas@codesourcery.com>2012-11-01 21:24:44 +0100
commitd0d4f8689dcc4a975c9065534c54447e09433e85 (patch)
tree9b97deda411cb7ed58aee97282e6ce21e0b86d5a
parent6f796e1b5252490e23d42a0aa3a5c35e28f1f5af (diff)
downloadglibc-d0d4f8689dcc4a975c9065534c54447e09433e85.tar.gz
glibc-d0d4f8689dcc4a975c9065534c54447e09433e85.tar.xz
glibc-d0d4f8689dcc4a975c9065534c54447e09433e85.zip
Fix build for !(defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO).
-rw-r--r--ChangeLog2
-rw-r--r--elf/dl-support.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 25d82dd456..242c51adf4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
 
+	* elf/dl-support.c: Unconditionally include "setup-vdso.h".
+
 	* sysdeps/mach/hurd/powerpc: Remove directory.
 	* sysdeps/mach/powerpc: Likewise.
 
diff --git a/elf/dl-support.c b/elf/dl-support.c
index fd72c1b2ad..81e71720c6 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -165,8 +165,8 @@ const ElfW(Ehdr) *_dl_sysinfo_dso;
 struct link_map *_dl_sysinfo_map;
 
 # include "get-dynamic-info.h"
-# include "setup-vdso.h"
 #endif
+#include "setup-vdso.h"
 
 /* During the program run we must not modify the global data of
    loaded shared object simultanously in two threads.  Therefore we