[hurd,commited] hurd: fix build

Message ID 20180221001859.19648-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series
  • [hurd,commited] hurd: fix build
Related show

Commit Message

Samuel Thibault Feb. 21, 2018, 12:18 a.m.
* sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
---
 ChangeLog                     | 4 ++++
 sysdeps/mach/hurd/dl-sysdep.c | 2 ++
 2 files changed, 6 insertions(+)

-- 
2.16.1

Patch

diff --git a/ChangeLog b/ChangeLog
index fae6ff31e4..b4e1f34818 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2018-02-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+	* sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
+
 2018-02-20  Rical Jasan  <ricaljasan@pacific.net>
 
 	* manual/creature.texi (_ISOC99_SOURCE): Update the dated
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index ef96df054e..71d62e233a 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -64,6 +64,8 @@  rtld_hidden_data_def(__libc_stack_end)
 hp_timing_t _dl_cpuclock_offset;
 #endif
 
+/* TODO: Initialize.  */
+void *_dl_random attribute_relro = NULL;
 
 struct hurd_startup_data *_dl_hurd_data;