From 8a81dbe6fb38acf4c970946ca3c9ce7d8e20eda0 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 3 Dec 1990 14:14:48 +0000 Subject: [PATCH] leave SIGFPE alone --- mach/vax4/libbsd4_1a/head_em.s | 34 +------------------- mach/vax4/libbsd4_2/head_em.s | 57 +--------------------------------- mach/vax4/libsysV_2/head_em.s | 34 +------------------- 3 files changed, 3 insertions(+), 122 deletions(-) diff --git a/mach/vax4/libbsd4_1a/head_em.s b/mach/vax4/libbsd4_1a/head_em.s index 315e21bc7..04686a496 100644 --- a/mach/vax4/libbsd4_1a/head_em.s +++ b/mach/vax4/libbsd4_1a/head_em.s @@ -28,50 +28,18 @@ pushl r0 pushl r2 pushl r1 - movl $Im1,ap - chmk (ap)+ ! catch floating point exception calls $3,_m_a_i_n movl $Im2,ap movl r0,6(ap) chmk (ap)+ halt - .align 1 -Isig8: - .data2 0x0000 - pushl 8(ap) - movl (sp)+,ap - pushl Itab [ap] - jsb .trp - movl $Im1,ap - chmk (ap)+ - ret - - .sect .rom -Im1: - .data2 48 - .data4 2 - .data4 8 - .data4 Isig8 - -Itab: - .data4 0 - .data4 EIOVFL - .data4 EIDIVZ - .data4 EFOVFL - .data4 EFDIVZ - .data4 EFUNFL - .data4 EILLINS - .data4 EARRAY - .data4 EFOVFL - .data4 EFDIVZ - .data4 EFUNFL - .sect .data Im2: .data2 1 .data4 1 .data4 0 + .data2 0 .reghp: .data4 __end .limhp: diff --git a/mach/vax4/libbsd4_2/head_em.s b/mach/vax4/libbsd4_2/head_em.s index b339be2ba..87cac8855 100644 --- a/mach/vax4/libbsd4_2/head_em.s +++ b/mach/vax4/libbsd4_2/head_em.s @@ -28,61 +28,18 @@ pushl r0 pushl r2 pushl r1 - movl $Im1,ap - chmk (ap)+ ! catch floating point exception calls $3,_m_a_i_n movl $Im2,ap movl r0,6(ap) chmk (ap)+ halt - .align 1 -Isig8: - .data2 0x0000 - pushl 8(ap) - movl $Im3,ap - chmk (ap)+ ! restore default handler - movl $Im5,ap - chmk (ap)+ ! get current signal mask - bicl3 $0x80,r0,Im4+6 ! and remove the 8th bit - movl $Im4,ap - chmk (ap)+ ! and - movl (sp)+,ap - pushl Itab [ap] - jsb .trp - movl $Im1,ap - chmk (ap)+ - ret - .sect .data -Im1: - .data2 SYS_sigvec - .data4 3 - .data4 8 - .data4 Im1a - .data4 0 -Im3: - .data2 SYS_sigvec - .data4 3 - .data4 8 - .data4 0 - .data4 0 -Im4: - .data2 SYS_sigsetmask - .data4 1 - .data4 0 -Im5: - .data2 SYS_sigblock - .data4 1 - .data4 0 -Im1a: - .data4 Isig8 - .data4 0 - .data4 0 Im2: .data2 1 .data4 1 .data4 0 + .data2 0 .reghp: .data4 __end .limhp: @@ -93,15 +50,3 @@ hol0: .space 4 .trpim: .data4 0 -Itab: - .data4 0 - .data4 EIOVFL - .data4 EIDIVZ - .data4 EFOVFL - .data4 EFDIVZ - .data4 EFUNFL - .data4 EILLINS - .data4 EARRAY - .data4 EFOVFL - .data4 EFDIVZ - .data4 EFUNFL diff --git a/mach/vax4/libsysV_2/head_em.s b/mach/vax4/libsysV_2/head_em.s index 315e21bc7..04686a496 100644 --- a/mach/vax4/libsysV_2/head_em.s +++ b/mach/vax4/libsysV_2/head_em.s @@ -28,50 +28,18 @@ pushl r0 pushl r2 pushl r1 - movl $Im1,ap - chmk (ap)+ ! catch floating point exception calls $3,_m_a_i_n movl $Im2,ap movl r0,6(ap) chmk (ap)+ halt - .align 1 -Isig8: - .data2 0x0000 - pushl 8(ap) - movl (sp)+,ap - pushl Itab [ap] - jsb .trp - movl $Im1,ap - chmk (ap)+ - ret - - .sect .rom -Im1: - .data2 48 - .data4 2 - .data4 8 - .data4 Isig8 - -Itab: - .data4 0 - .data4 EIOVFL - .data4 EIDIVZ - .data4 EFOVFL - .data4 EFDIVZ - .data4 EFUNFL - .data4 EILLINS - .data4 EARRAY - .data4 EFOVFL - .data4 EFDIVZ - .data4 EFUNFL - .sect .data Im2: .data2 1 .data4 1 .data4 0 + .data2 0 .reghp: .data4 __end .limhp: