about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386/dl-machine.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/i386/dl-machine.h
parent48b8c7cfe863977493e11409781b978f7c0014b7 (diff)
downloadglibc-b020355f382b658b3b99e8e3575dd16f8757a148.tar.gz
glibc-b020355f382b658b3b99e8e3575dd16f8757a148.tar.xz
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/i386/dl-machine.h')
-rw-r--r--sysdeps/mach/hurd/i386/dl-machine.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/mach/hurd/i386/dl-machine.h b/sysdeps/mach/hurd/i386/dl-machine.h
deleted file mode 100644
index 40f2ff29d4..0000000000
--- a/sysdeps/mach/hurd/i386/dl-machine.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* Dynamic linker magic for Hurd/i386.
-   This file just gets us a call to _dl_first_init inserted
-   into the asm in sysdeps/i386/dl-machine.h that contains
-   the initializer code.  */
-
-#define RTLD_START_SPECIAL_INIT "call _dl_init_first@PLT; movl (%esp), %edx"
-#include_next "dl-machine.h"