Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 3 Apr 2000 18:20:23 +0000 (18:20 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 3 Apr 2000 18:20:23 +0000 (18:20 +0000)
* sysdeps/i386/dl-machine.h: Undo last change.
* sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
Restore %edx register after call here.

ChangeLog
sysdeps/i386/dl-machine.h
sysdeps/mach/hurd/i386/dl-machine.h

index 88d620b..7b0cff4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-04-03  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/i386/dl-machine.h: Undo last change.
+       * sysdeps/mach/hurd/i386/dl-machine.h (RTLD_START_SPECIAL_INIT):
+       Restore %edx register after call here.
+
        * sysdeps/arm/atomicity.h: New file.
        Contributed by Jesper Skov <jskov@redhat.com>.
 
index 3082d4d..5220d92 100644 (file)
@@ -233,7 +233,6 @@ _dl_start_user:\n\
 " RTLD_START_SPECIAL_INIT "\n\
        # Load the parameters again.\n\
        # (eax, edx, ecx, *--esp) = (_dl_loaded, argc, argv, envp)\n\
-       movl (%esp), %edx\n\
        movl _dl_loaded@GOT(%ebx), %esi\n\
        leal 8(%esp,%edx,4), %eax\n\
        leal 4(%esp), %ecx\n\
index 153abba..40f2ff2 100644 (file)
@@ -3,5 +3,5 @@
    into the asm in sysdeps/i386/dl-machine.h that contains
    the initializer code.  */
 
-#define RTLD_START_SPECIAL_INIT "call _dl_init_first@PLT"
+#define RTLD_START_SPECIAL_INIT "call _dl_init_first@PLT; movl (%esp), %edx"
 #include_next "dl-machine.h"