From 9d0f0a8fdd95b72f578d2f5e4885f3c43a45d803 Mon Sep 17 00:00:00 2001 From: dtrg Date: Sun, 29 Apr 2007 20:46:48 +0000 Subject: [PATCH] Disabled the code to throw signals on EM traps; this is the platform's job (and requires working signal support, which we may not have). --- lang/cem/libcc.ansi/head_ac.e | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lang/cem/libcc.ansi/head_ac.e b/lang/cem/libcc.ansi/head_ac.e index 9a9d55228..b97e58b4d 100644 --- a/lang/cem/libcc.ansi/head_ac.e +++ b/lang/cem/libcc.ansi/head_ac.e @@ -17,6 +17,9 @@ * */ +/* Disabled catch handler --- this is the platform's job. dtrg */ +#undef CATCHHANDLER + mes 2,_EM_WSIZE,_EM_PSIZE exa environ @@ -30,10 +33,12 @@ loi _EM_PSIZE lae environ sti _EM_PSIZE +#ifdef CATCHHANDLER #if __unix && ! (__em22 || __em24 || __em44) lpi $_ctch_ sig asp _EM_PSIZE +#endif #endif lal _EM_WSIZE+_EM_PSIZE loi _EM_PSIZE @@ -47,6 +52,7 @@ cal $exit end +#ifdef CATCHHANDLER #if __unix && ! (__em22 || __em24 || __em44) exp $_ctch_ pro $_ctch_,0 @@ -72,3 +78,4 @@ rtt end 0 #endif +#endif -- 2.34.1