; Standard signal handling functions
-SIG_IGN = $0000
-SIG_ERR = $FFFF
-SIG_DFL = $FFFE
+SIG_ERR = $0000
; Signal numbers
SIGABRT = 0
SIGINT = 3
SIGSEGV = 4
SIGTERM = 5
+SIGCOUNT = 6 ; Number of signals
+
+; Table with signal handlers (asm code only)
+.global sigtable
; Function declarations
+.global __sig_ign
+.global __sig_dfl
.global _signal
.global _raise
-