about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-03 18:20:23 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-03 18:20:23 +0000
commitf9b798baee95f36e33075eb79f27d93ecc04ebf0 (patch)
treefd20f612ee3640db93d7ab4bae07acc0fa0a0b1b
parentad085e8a282ea235bb193edda69fa032394c650c (diff)
downloadglibc-f9b798baee95f36e33075eb79f27d93ecc04ebf0.tar.gz
glibc-f9b798baee95f36e33075eb79f27d93ecc04ebf0.tar.xz
glibc-f9b798baee95f36e33075eb79f27d93ecc04ebf0.zip
Update.
	* 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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/i386/dl-machine.h1
-rw-r--r--sysdeps/mach/hurd/i386/dl-machine.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 88d620b0fb..7b0cff44f1 100644
--- 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>.
 
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index 3082d4d4e8..5220d923b7 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -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\
diff --git a/sysdeps/mach/hurd/i386/dl-machine.h b/sysdeps/mach/hurd/i386/dl-machine.h
index 153abba48f..40f2ff29d4 100644
--- a/sysdeps/mach/hurd/i386/dl-machine.h
+++ b/sysdeps/mach/hurd/i386/dl-machine.h
@@ -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"