aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-04-14 03:52:54 +0000
committerRoland McGrath <roland@gnu.org>1995-04-14 03:52:54 +0000
commite215c4786cff3ecc7961a60f5f79bed50f0fe8c1 (patch)
treefbf34cefb203f9aad43128e555c89ef700c6ea80 /sysdeps/i386
parent335aa3209b5d597a93733a7313e629e202731078 (diff)
downloadglibc-e215c4786cff3ecc7961a60f5f79bed50f0fe8c1.zip
glibc-e215c4786cff3ecc7961a60f5f79bed50f0fe8c1.tar.gz
glibc-e215c4786cff3ecc7961a60f5f79bed50f0fe8c1.tar.bz2
* Makefile (distribute): Add ChangeLog.[0-9].
* configure.in: Add check for .set directive. * config.h.in: Add #undef HAVE_ASM_SET_DIRECTIVE. * Makerules [! subdir] (O%-lib): Don't prepend ../. * sysdeps/generic/expm1.c: #undef expm1 before weak_alias. See ChangeLog.4 for earlier changes.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/add_n.S6
-rw-r--r--sysdeps/i386/sub_n.S6
2 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/i386/add_n.S b/sysdeps/i386/add_n.S
index 02f696a..c4e71ea 100644
--- a/sysdeps/i386/add_n.S
+++ b/sysdeps/i386/add_n.S
@@ -56,12 +56,12 @@ C_SYMBOL_NAME(__mpn_add_n:)
#ifdef PIC
call here
here: leal (Loop - 3 - here)(%eax,%eax,8),%eax
- addl (%esp),%eax
- addl $4,%esp
+ addl %eax,(%esp)
+ ret
#else
leal (Loop - 3)(%eax,%eax,8),%eax /* calc start addr in loop */
-#endif
jmp *%eax /* jump into loop */
+#endif
ALIGN (3)
Loop: movl (%esi),%eax
adcl (%edx),%eax
diff --git a/sysdeps/i386/sub_n.S b/sysdeps/i386/sub_n.S
index 63086bd..64d2c25 100644
--- a/sysdeps/i386/sub_n.S
+++ b/sysdeps/i386/sub_n.S
@@ -56,12 +56,12 @@ C_SYMBOL_NAME(__mpn_sub_n:)
#ifdef PIC
call here
here: leal (Loop - 3 - here)(%eax,%eax,8),%eax
- addl (%esp),%eax
- addl $4,%esp
+ addl %eax,(%esp)
+ ret
#else
leal (Loop - 3)(%eax,%eax,8),%eax /* calc start addr in loop */
-#endif
jmp *%eax /* jump into loop */
+#endif
ALIGN (3)
Loop: movl (%esi),%eax
sbbl (%edx),%eax