1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
-index 3edb9fd..406b19b 100755
+index 4ea1498..46149a7 100755
--- a/configure
+++ b/configure
-@@ -355,7 +355,8 @@ case "$bytecc,$target" in
+@@ -365,7 +365,8 @@ case "$bytecc,$target" in
*gcc*,alpha*-*-linux*)
if cc="$bytecc" sh ./hasgot -mieee; then
bytecccompopts="-mieee $bytecccompopts";
cc,mips-*-irix6*)
# Add -n32 flag to ensure compatibility with native-code compiler
bytecccompopts="-n32"
-@@ -872,6 +873,7 @@ case "$arch,$nativecc,$system,$target" in
+@@ -901,6 +902,7 @@ case "$arch,$nativecc,$system,$target" in
nativecccompopts="$gcc_warnings -DSHRINKED_GNUC";;
*,*,rhapsody,*) nativecccompopts="$gcc_warnings -DDARWIN_VERSION_6 $dl_defs"
if $arch64; then partialld="ld -r -arch ppc64"; fi;;
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
-index 406b19b..726e144 100755
+index 46149a7..dfcb849 100755
--- a/configure
+++ b/configure
-@@ -1696,7 +1696,7 @@ echo "OTHERLIBRARIES=$otherlibraries" >> Makefile
+@@ -1743,7 +1743,7 @@ echo "OTHERLIBRARIES=$otherlibraries" >> Makefile
echo "CC_PROFILE=$cc_profile" >> Makefile
echo "SYSTHREAD_SUPPORT=$systhread_support" >> Makefile
echo "PARTIALLD=$partialld" >> Makefile
1 file changed, 5 insertions(+)
diff --git a/tools/ocamlmklib.ml b/tools/ocamlmklib.ml
-index 77ae57b..4fdb391 100644
+index 23a273e..a5e0d34 100644
--- a/tools/ocamlmklib.ml
+++ b/tools/ocamlmklib.ml
-@@ -37,6 +37,11 @@ and output_c = ref "" (* Output name for C part of library *)
- and rpath = ref [] (* rpath options *)
+@@ -40,6 +40,11 @@ and rpath = ref [] (* rpath options *)
+ and debug = ref false (* -g option *)
and verbose = ref false
+(* Debian specific: inhibit rpath *)
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ocamldoc/Makefile b/ocamldoc/Makefile
-index 7a487c6..a6b11c4 100644
+index 7c6d988..7700434 100644
--- a/ocamldoc/Makefile
+++ b/ocamldoc/Makefile
@@ -312,7 +312,7 @@ test_texi: dummy
3 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/bytecomp/bytelink.ml b/bytecomp/bytelink.ml
-index c0f8f6a..778df01 100644
+index 2f5c0ec..7792b46 100644
--- a/bytecomp/bytelink.ml
+++ b/bytecomp/bytelink.ml
-@@ -431,6 +431,19 @@ let output_cds_file outfile =
+@@ -439,6 +439,19 @@ let output_cds_file outfile =
remove_file outfile;
raise x
(* Output a bytecode executable as a C file *)
let link_bytecode_as_c ppf tolink outfile =
-@@ -473,7 +486,7 @@ let link_bytecode_as_c ppf tolink outfile =
+@@ -481,7 +494,7 @@ let link_bytecode_as_c ppf tolink outfile =
(Marshal.to_string sections []);
output_string outchan "\n};\n\n";
(* The table of primitives *)
(* The entry point *)
output_string outchan "\
\nvoid caml_startup(char ** argv)\
-@@ -554,7 +567,7 @@ let link ppf objfiles output_name =
+@@ -562,7 +575,7 @@ let link ppf objfiles output_name =
#else\n\
typedef long value;\n\
#endif\n";
#ifdef __cplusplus\n\
}\n\
diff --git a/bytecomp/symtable.ml b/bytecomp/symtable.ml
-index 1cc3a53..397fc25 100644
+index a0ce273..d94863d 100644
--- a/bytecomp/symtable.ml
+++ b/bytecomp/symtable.ml
-@@ -113,15 +113,17 @@ let output_primitive_names outchan =
+@@ -115,15 +115,17 @@ let output_primitive_names outchan =
open Printf
7 files changed, 57 insertions(+), 4 deletions(-)
diff --git a/bytecomp/bytelink.ml b/bytecomp/bytelink.ml
-index 778df01..5fcbcfe 100644
+index 7792b46..534433b 100644
--- a/bytecomp/bytelink.ml
+++ b/bytecomp/bytelink.ml
-@@ -446,7 +446,7 @@ let mlvalues_primitives = [
+@@ -454,7 +454,7 @@ let mlvalues_primitives = [
(* Output a bytecode executable as a C file *)
let outchan = open_out outfile in
begin try
(* The bytecode *)
-@@ -488,14 +488,27 @@ let link_bytecode_as_c ppf tolink outfile =
+@@ -496,14 +496,27 @@ let link_bytecode_as_c ppf tolink outfile =
(* The table of primitives *)
Symtable.output_primitive_table outchan mlvalues_primitives;
(* The entry point *)
\n#ifdef __cplusplus\
\n}\
\n#endif\n";
-@@ -534,6 +547,17 @@ let fix_exec_name name =
+@@ -542,6 +555,17 @@ let fix_exec_name name =
if String.contains name '.' then name else name ^ ".exe"
| _ -> name
(* Main entry point (build a custom runtime if needed) *)
let link ppf objfiles output_name =
-@@ -548,6 +572,16 @@ let link ppf objfiles output_name =
+@@ -556,6 +580,16 @@ let link ppf objfiles output_name =
Clflags.dllibs := !lib_dllibs @ !Clflags.dllibs; (* put user's DLLs first *)
if not !Clflags.custom_runtime then
link_bytecode ppf tolink output_name true
else if not !Clflags.output_c_object then begin
let bytecode_name = Filename.temp_file "camlcode" "" in
let prim_name = Filename.temp_file "camlprim" ".c" in
-@@ -590,7 +624,7 @@ let link ppf objfiles output_name =
+@@ -605,7 +639,7 @@ let link ppf objfiles output_name =
if Sys.file_exists c_file then raise(Error(File_exists c_file));
let temps = ref [] in
try
include $(BASEDIR)/makefiles/Makefile.one
include $(BASEDIR)/makefiles/Makefile.common
diff --git a/testsuite/tests/callback/Makefile b/testsuite/tests/callback/Makefile
-index 58b5ed8..48d8796 100644
+index d89c532..5e640ac 100644
--- a/testsuite/tests/callback/Makefile
+++ b/testsuite/tests/callback/Makefile
@@ -16,6 +16,9 @@ CC=$(NATIVECC) -I $(CTOPDIR)/byterun
default:
@case " $(OTHERLIBRARIES) " in \
diff --git a/testsuite/tests/embedded/Makefile b/testsuite/tests/embedded/Makefile
-index a8de4dc..b72581f 100644
+index 088b021..f0c3d28 100644
--- a/testsuite/tests/embedded/Makefile
+++ b/testsuite/tests/embedded/Makefile
@@ -13,6 +13,10 @@
include $(BASEDIR)/makefiles/Makefile.one
include $(BASEDIR)/makefiles/Makefile.common
diff --git a/testsuite/tests/lib-dynlink-bytecode/Makefile b/testsuite/tests/lib-dynlink-bytecode/Makefile
-index 832e367..4653631 100644
+index f9b1c6f..1e8377d 100644
--- a/testsuite/tests/lib-dynlink-bytecode/Makefile
+++ b/testsuite/tests/lib-dynlink-bytecode/Makefile
@@ -15,6 +15,9 @@ BASEDIR=../..
+++ /dev/null
-From: Stephane Glondu <steph@glondu.net>
-Date: Thu, 20 Nov 2014 16:48:12 +0100
-Subject: Fix asmcomp tests on sparc
-
-Bug: http://caml.inria.fr/mantis/view.php?id=6665
----
- testsuite/tests/asmcomp/sparc.S | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/testsuite/tests/asmcomp/sparc.S b/testsuite/tests/asmcomp/sparc.S
-index ea02957..f2b9ce2 100644
---- a/testsuite/tests/asmcomp/sparc.S
-+++ b/testsuite/tests/asmcomp/sparc.S
-@@ -10,7 +10,7 @@
- /* */
- /***********************************************************************/
-
--#if defined(SYS_solaris) || defined(SYS_elf)
-+#if defined(SYS_solaris) || defined(SYS_linux)
- #define Call_gen_code call_gen_code
- #define Caml_c_call caml_c_call
- #else
---
0006-Embed-bytecode-in-C-object-when-using-custom.patch
0007-Tune-resource-usage-of-some-tests.patch
0008-Native-backtraces-don-t-work-on-powerpc-and-sparc.patch
-0009-Fix-asmcomp-tests-on-sparc.patch