about summary refs log tree commit diff
path: root/sysdeps/i386/add_n.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/i386/add_n.S')
-rw-r--r--sysdeps/i386/add_n.S6
1 files changed, 3 insertions, 3 deletions
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