浏览代码

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).

dtrg 17 年之前
父节点
当前提交
ac72c550ba
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      lang/cem/libcc.ansi/head_ac.e

+ 7 - 0
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