aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/dl-sysdep.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-02-23 18:14:35 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-24 19:40:33 +0000
commitb020355f382b658b3b99e8e3575dd16f8757a148 (patch)
tree9435aa6b06a74840431fe30fa3a60e30f3cdcf52 /sysdeps/mach/hurd/dl-sysdep.h
parent48b8c7cfe863977493e11409781b978f7c0014b7 (diff)
downloadglibc-b020355f382b658b3b99e8e3575dd16f8757a148.tar
glibc-b020355f382b658b3b99e8e3575dd16f8757a148.tar.gz
glibc-b020355f382b658b3b99e8e3575dd16f8757a148.tar.bz2
glibc-b020355f382b658b3b99e8e3575dd16f8757a148.zip
hurd: Simplify init-first.c further
This drops all of the return address rewriting kludges. The only remaining hack is the jump out of a call stack while adjusting the stack pointer. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.h')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.h b/sysdeps/mach/hurd/dl-sysdep.h
index 3baf56b741..fa35a71c83 100644
--- a/sysdeps/mach/hurd/dl-sysdep.h
+++ b/sysdeps/mach/hurd/dl-sysdep.h
@@ -22,3 +22,7 @@
(open, mmap, etc). */
#define RTLD_PRIVATE_ERRNO 0
+
+#ifndef __ASSEMBLER__
+void _dl_init_first (void *data);
+#endif