summaryrefslogtreecommitdiff
path: root/sysdeps/generic/ldsodefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-rw-r--r--sysdeps/generic/ldsodefs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index ffeb093887..983bafeb8f 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -64,6 +64,10 @@ __BEGIN_DECLS
# define D_PTR(map, i) (map)->i->d_un.d_ptr
#endif
+#ifndef TLS_STATIC_EXTRA_SURPLUS
+# define TLS_STATIC_EXTRA_SURPLUS 0
+#endif
+
/* Result of the lookup functions and how to retrieve the base address. */
typedef struct link_map *lookup_t;
#define LOOKUP_VALUE(map) map
@@ -512,6 +516,11 @@ struct rtld_global_ro
#endif
#include <dl-procinfo.c>
+ /* Platform-specific definitions. */
+#ifdef PLATFORM_RTLD_GLOBAL_RO_FIELDS
+PLATFORM_RTLD_GLOBAL_RO_FIELDS
+#endif
+
/* Names of shared object for which the RPATH should be ignored. */
EXTERN const char *_dl_inhibit_rpath;