about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-06 09:02:20 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-06 09:02:20 +0000
commit3a370de88f9ca928a90d1fa88afaf5d17d939fb6 (patch)
treef0cc40c17bc131b1f8ee7c5d9af5cf8afb70e1df
parent7a8a8e21cd64ad7e6241609968d98d7a3d3e30ab (diff)
downloadglibc-3a370de88f9ca928a90d1fa88afaf5d17d939fb6.tar.gz
glibc-3a370de88f9ca928a90d1fa88afaf5d17d939fb6.tar.xz
glibc-3a370de88f9ca928a90d1fa88afaf5d17d939fb6.zip
Update.
2003-06-06  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow
	%edx for first parameter.  This means no pushl and therefore the
	unwind info isn't screwed up.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/unix/sysv/linux/i386/sysdep.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4cc5d6f0fb..342a2a15ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-06  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/i386/sysdep.h (ASMFMT_2): Only allow
+	%edx for first parameter.  This means no pushl and therefore the
+	unwind info isn't screwed up.
+
 2003-06-04  Richard Henderson  <rth@redhat.com>
 
         * sysdeps/alpha/dl-machine.h (RTLD_START): Fix top-of-stack backtrace.
diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h
index 858a56a10a..f8f4a55a75 100644
--- a/sysdeps/unix/sysv/linux/i386/sysdep.h
+++ b/sysdeps/unix/sysv/linux/i386/sysdep.h
@@ -421,7 +421,7 @@ asm (".L__X'%ebx = 1\n\t"
 #define ASMFMT_1(arg1) \
 	, "acdSD" (arg1)
 #define ASMFMT_2(arg1, arg2) \
-	, "adSD" (arg1), "c" (arg2)
+	, "d" (arg1), "c" (arg2)
 #define ASMFMT_3(arg1, arg2, arg3) \
 	, "aSD" (arg1), "c" (arg2), "d" (arg3)
 #define ASMFMT_4(arg1, arg2, arg3, arg4) \