summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-15 14:23:37 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-15 14:23:37 +0100
commitdfb204d87fd7d44b90aef377e6442646d9e1318d (patch)
tree634d96af0e437c63508c55d456cc8e10077ac7b4
parentf05faf5f22ecc20d3ba9791d7c60beb2d20aff52 (diff)
downloadglibc-dfb204d87fd7d44b90aef377e6442646d9e1318d.tar.gz
glibc-dfb204d87fd7d44b90aef377e6442646d9e1318d.tar.xz
glibc-dfb204d87fd7d44b90aef377e6442646d9e1318d.zip
[hurd] Drop spurious #ifdef SHARED
The whole file is already #ifdef SHARED
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 51c7bc3e88..b6256a2c0e 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -105,7 +105,6 @@ _dl_sysdep_start (void **start_argptr,
       DL_SYSDEP_INIT;
 #endif
 
-#ifdef SHARED
 #ifdef DL_PLATFORM_INIT
       DL_PLATFORM_INIT;
 #endif
@@ -113,7 +112,6 @@ _dl_sysdep_start (void **start_argptr,
       /* Determine the length of the platform name.  */
       if (GLRO(dl_platform) != NULL)
 	GLRO(dl_platformlen) = strlen (GLRO(dl_platform));
-#endif
 
       if (_dl_hurd_data->flags & EXEC_STACK_ARGS
 	  && _dl_hurd_data->user_entry == 0)