summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2011-12-18 09:52:52 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2011-12-18 09:52:52 +0000
commit4af724cf549549598f1e8d02babaf91d62e24a58 (patch)
tree2d6d250475cf772610a0e1eaaa97412de90061ee
parent5c432bf22c353cdd3d96b8fc642f6c3d48ffdcd2 (diff)
downloadocaml-4af724cf549549598f1e8d02babaf91d62e24a58.tar.gz
Removed the obsolete native-code generators for Alpha, HPPA, IA64 and MIPS.
Part 4: cleaning up some more references & specific code for these archs. git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11886 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-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