aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-25 00:59:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-25 00:59:18 +0100
commit978a6803e25f49460a9519558dbc426c97db6d64 (patch)
treef96ea4d5f5377c7a4eb58c223391187045e4bb32 /sysdeps/generic
parent37be82a03f314f6f277a74b949210f8ab07dc88f (diff)
downloadglibc-978a6803e25f49460a9519558dbc426c97db6d64.tar
glibc-978a6803e25f49460a9519558dbc426c97db6d64.tar.gz
glibc-978a6803e25f49460a9519558dbc426c97db6d64.tar.bz2
glibc-978a6803e25f49460a9519558dbc426c97db6d64.zip
hurd: Fix calling __pthread_initialize_minimal in shared case
* sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal): Declare function.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/ldsodefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index d3013f6ec6..e29e9d7ff0 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -1067,11 +1067,11 @@ extern struct link_map * _dl_get_dl_main_map (void)
# else
# define _dl_relocate_static_pie()
# endif
+#endif
/* Initialization of libpthread for statically linked applications.
If libpthread is not linked in, this is an empty function. */
void __pthread_initialize_minimal (void) weak_function;
-#endif
/* Allocate memory for static TLS block (unless MEM is nonzero) and dtv. */
extern void *_dl_allocate_tls (void *mem);