summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asmrun/signals_osdep.h36
-rw-r--r--otherlibs/num/Makefile2
2 files changed, 2 insertions, 36 deletions
diff --git a/asmrun/signals_osdep.h b/asmrun/signals_osdep.h
index 85e9b750a5..cacebd1a26 100644
--- a/asmrun/signals_osdep.h
+++ b/asmrun/signals_osdep.h
@@ -15,26 +15,9 @@
/* Processor- and OS-dependent signal interface */
-/****************** Alpha, all OS */
-
-#if defined(TARGET_alpha)
-
- #define DECLARE_SIGNAL_HANDLER(name) \
- static void name(int sig, int code, struct sigcontext * context)
-
- #define SET_SIGACT(sigact,name) \
- sigact.sa_handler = (void (*)(int)) (name); \
- sigact.sa_flags = 0
-
- typedef long context_reg;
- #define CONTEXT_PC (context->sc_pc)
- #define CONTEXT_EXCEPTION_POINTER (context->sc_regs[15])
- #define CONTEXT_YOUNG_LIMIT (context->sc_regs[13])
- #define CONTEXT_YOUNG_PTR (context->sc_regs[14])
-
/****************** AMD64, Linux */
-#elif defined(TARGET_amd64) && defined (SYS_linux)
+#if defined(TARGET_amd64) && defined (SYS_linux)
#define DECLARE_SIGNAL_HANDLER(name) \
static void name(int sig, siginfo_t * info, ucontext_t * context)
@@ -177,23 +160,6 @@
#define CONTEXT_FAULTING_ADDRESS ((char *) info->si_addr)
-/****************** MIPS, all OS */
-
-#elif defined(TARGET_mips)
-
- #define DECLARE_SIGNAL_HANDLER(name) \
- static void name(int sig, int code, struct sigcontext * context)
-
- #define SET_SIGACT(sigact,name) \
- sigact.sa_handler = (void (*)(int)) (name); \
- sigact.sa_flags = 0
-
- typedef int context_reg;
- #define CONTEXT_PC (context->sc_pc)
- #define CONTEXT_EXCEPTION_POINTER (context->sc_regs[30])
- #define CONTEXT_YOUNG_LIMIT (context->sc_regs[22])
- #define CONTEXT_YOUNG_PTR (context->sc_regs[23])
-
/****************** PowerPC, MacOS X */
#elif defined(TARGET_power) && defined(SYS_rhapsody)
diff --git a/otherlibs/num/Makefile b/otherlibs/num/Makefile
index 756aec2b4c..e5bcb97cad 100644
--- a/otherlibs/num/Makefile
+++ b/otherlibs/num/Makefile
@@ -28,7 +28,7 @@ clean::
rm -f *~
bng.$(O): bng.h bng_digit.c \
- bng_alpha.c bng_amd64.c bng_ia32.c bng_mips.c bng_ppc.c bng_sparc.c
+ bng_amd64.c bng_ia32.c bng_ppc.c bng_sparc.c
depend:
gcc -MM $(CFLAGS) *.c > .depend