about summary refs log tree commit diff
path: root/elf/dl-debug.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-06-17 11:29:47 -0700
committerRoland McGrath <roland@hack.frob.com>2015-06-18 12:51:37 -0700
commitae9ef4d35e21370a5bc7d281fa85a5cec250b8c0 (patch)
tree24b27d4d6a9e645b4238a604073879aae3f3a9f1 /elf/dl-debug.c
parentd1ac55d89023f86a34e46e9f064746334014ae28 (diff)
downloadglibc-roland/nacl-debug-hack.tar.gz
glibc-roland/nacl-debug-hack.tar.xz
glibc-roland/nacl-debug-hack.zip
Diffstat (limited to 'elf/dl-debug.c')
-rw-r--r--elf/dl-debug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/dl-debug.c b/elf/dl-debug.c
index e32a5a64e4..b89ea4d5d8 100644
--- a/elf/dl-debug.c
+++ b/elf/dl-debug.c
@@ -72,5 +72,8 @@ _dl_debug_initialize (ElfW(Addr) ldbase, Lmid_t ns)
 void
 _dl_debug_state (void)
 {
+#ifdef DL_DEBUG_STATE
+  DL_DEBUG_STATE;
+#endif
 }
 rtld_hidden_def (_dl_debug_state)