]> git.pld-linux.org Git - packages/ocaml.git/blame - ocaml-opt-symbols.patch
- fixed previous commit message
[packages/ocaml.git] / ocaml-opt-symbols.patch
CommitLineData
b68676b5
MM
1diff -ur ocaml-3.04/byterun/meta.c ocaml-3.04-/byterun/meta.c
2--- ocaml-3.04/byterun/meta.c Fri Dec 7 14:39:32 2001
3+++ ocaml-3.04-/byterun/meta.c Fri May 10 10:03:30 2002
4@@ -142,4 +142,19 @@
5 return Val_unit; /* not reached */
6 }
7
8+value * stack_low;
9+value * stack_high;
10+value * stack_threshold;
11+value * extern_sp;
12+value * trapsp;
13+int backtrace_active;
14+int backtrace_pos;
15+code_t * backtrace_buffer;
16+value backtrace_last_exn;
17+int callback_depth;
18+int volatile something_to_do;
19+void (* volatile async_action_hook)(void);
20+void print_exception_backtrace(void) { }
21+struct longjmp_buffer * external_raise;
22+
23 #endif
24diff -ur ocaml-3.04/otherlibs/systhreads/Makefile ocaml-3.04-/otherlibs/systhreads/Makefile
25--- ocaml-3.04/otherlibs/systhreads/Makefile Fri May 10 10:15:25 2002
26+++ ocaml-3.04-/otherlibs/systhreads/Makefile Fri May 10 10:12:23 2002
27@@ -31,7 +31,7 @@
28 allopt: libthreadsnat.a threads.cmxa
29
30 libthreads.a: $(BYTECODE_C_OBJS)
31- $(MKLIB) -o threads $(BYTECODE_C_OBJS)
32+ $(MKLIB) -o threads $(BYTECODE_C_OBJS) $(PTHREAD_LINK)
33
34 posix_b.o: posix.c
35 $(BYTECC) -O -I../../byterun $(BYTECCCOMPOPTS) $(SHAREDCCCOMPOPTS) \
This page took 0.128175 seconds and 4 git commands to generate.