From b020355f382b658b3b99e8e3575dd16f8757a148 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Thu, 23 Feb 2023 18:14:35 +0300 Subject: 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 --- sysdeps/mach/hurd/i386/dl-machine.h | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 sysdeps/mach/hurd/i386/dl-machine.h (limited to 'sysdeps/mach/hurd/i386/dl-machine.h') 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" -- cgit 1.4.1