about summary refs log tree commit diff
path: root/sysdeps/nacl/ldsodefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nacl/ldsodefs.h')
-rw-r--r--sysdeps/nacl/ldsodefs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/nacl/ldsodefs.h b/sysdeps/nacl/ldsodefs.h
index 383ced5612..d8c1552e67 100644
--- a/sysdeps/nacl/ldsodefs.h
+++ b/sysdeps/nacl/ldsodefs.h
@@ -32,4 +32,11 @@ extern void _dl_aux_init (ElfW(auxv_t) *av) internal_function;
 /* Initialization which is normally done by the dynamic linker.  */
 extern void _dl_non_dynamic_init (void) internal_function;
 
+#ifdef SHARED
+extern void (*__nacl_extra_r_brk) (void) attribute_hidden;
+# define DL_DEBUG_STATE \
+  if (__nacl_extra_r_brk != NULL) \
+    (*__nacl_extra_r_brk) ();
+#endif
+
 #endif  /* ldsodefs.h */