From e215c4786cff3ecc7961a60f5f79bed50f0fe8c1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Apr 1995 03:52:54 +0000 Subject: * 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. --- sysdeps/i386/add_n.S | 6 +++--- sysdeps/i386/sub_n.S | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sysdeps/i386') diff --git a/sysdeps/i386/add_n.S b/sysdeps/i386/add_n.S index 02f696ae5e..c4e71ea8c7 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 63086bd7fd..64d2c25293 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 -- cgit v1.2.3