patch-1.3.5 linux/arch/i386/math-emu/reg_norm.S

Next file: linux/arch/i386/math-emu/reg_round.S
Previous file: linux/arch/i386/math-emu/reg_div.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.4/linux/arch/i386/math-emu/reg_norm.S linux/arch/i386/math-emu/reg_norm.S
@@ -18,11 +18,7 @@
 
 
 .text
-
-	.align 2,144
-.globl _normalize
-
-_normalize:
+ENTRY(normalize)
 	pushl	%ebp
 	movl	%esp,%ebp
 	pushl	%ebx
@@ -34,7 +30,7 @@
 	je	L_ok
 
 	pushl	$0x220
-	call	_exception
+	call	SYMBOL_NAME(exception)
 	addl	$4,%esp
 
 L_ok:
@@ -86,23 +82,20 @@
 
 L_underflow:
 	push	%ebx
-	call	_arith_underflow
+	call	SYMBOL_NAME(arith_underflow)
 	pop	%ebx
 	jmp	L_exit
 
 L_overflow:
 	push	%ebx
-	call	_arith_overflow
+	call	SYMBOL_NAME(arith_overflow)
 	pop	%ebx
 	jmp	L_exit
 
 
 
 /* Normalise without reporting underflow or overflow */
-	.align 2,144
-.globl _normalize_nuo
-
-_normalize_nuo:
+ENTRY(normalize_nuo)
 	pushl	%ebp
 	movl	%esp,%ebp
 	pushl	%ebx
@@ -114,7 +107,7 @@
 	je	L_ok_nuo
 
 	pushl	$0x221
-	call	_exception
+	call	SYMBOL_NAME(exception)
 	addl	$4,%esp
 
 L_ok_nuo:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this