Commit Graph

551 Commits (22edd411206f4e1597dc006332a35c8a9e48043f)

Author SHA1 Message Date
Xavier Leroy b1fbba245a PR#4558 part 1: unboxing of floats and boxed ints across 'let' and similar constructs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8981 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-05 13:35:20 +00:00
Xavier Leroy 16b9465048 PR#4583: do not compare Lambda terms with =, use Lambda.same instead
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8966 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 12:52:14 +00:00
Xavier Leroy 1f93465a0e PR#4564 (partial): mark stack as non-executable on Linux/ELF
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8962 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-01 08:04:57 +00:00
Alain Frisch 1ba87b442b Output references to the native version of the primitives in ocamlopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8930 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-24 05:35:22 +00:00
Xavier Leroy 91d39feb72 PR#4223, PR#1508: added unsafe variants of Bigarray.Array{1,2,3}.{get,set}
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8911 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-07-14 09:09:53 +00:00
Xavier Leroy 2bfb816cbf PR#4462: forgot bigarrayset in is_pure
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8847 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-03-18 14:25:40 +00:00
Alain Frisch 7b90710be5 Add explicit references to external primitive symbols.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8800 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-31 09:13:19 +00:00
Damien Doligez 9ea5edac9a merge changes 3.10.0 -> 3.10.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8768 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-01-11 16:13:18 +00:00
Alain Frisch 7be32fff1b Remove unused variable.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8524 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 18:17:14 +00:00
Alain Frisch 32abe25b89 Same in native code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8523 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 16:09:57 +00:00
Alain Frisch 1b059475c8 Cleanup and factorization of linker-related code.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8521 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-15 13:21:15 +00:00
Alain Frisch 3f12bd653a Use the variable mksharedlib from the configure script to build cmxs.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8510 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-12 17:18:32 +00:00
Alain Frisch a0e661f623 Roll-back: natdynlink won't be ported to PowerPC anytime soon.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8499 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-09 15:06:57 +00:00
Alain Frisch 4944313b0c Make it work under Win64.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8497 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-08 18:03:15 +00:00
Alain Frisch 3958a92c72 Merge the natdynlink branch into HEAD.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8477 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-11-06 15:16:56 +00:00
Xavier Leroy 9ccb911666 Can select which assembler to use at configuration time (PR#4171)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8462 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-30 12:37:16 +00:00
Damien Doligez 4167841b16 fusion de la version 3.10.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8416 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-10-08 14:19:34 +00:00
Damien Doligez 1dd68ccf50 ajout des annotations pour variables et appels terminaux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8232 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-05-16 08:21:41 +00:00
Xavier Leroy 25bb3c6f12 Make name of object file for package initialization unique (needed for the MSVC port)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7945 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 13:38:54 +00:00
Xavier Leroy 66b5626778 Stack backtraces for Win64/AMD64 (bug fixes)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7942 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:26:51 +00:00
Xavier Leroy d42ff170b6 Stack backtraces for Win64/AMD64 (not tested yet)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7941 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-03-01 10:12:38 +00:00
Nicolas Pouillard 81cfc29b31 Better handling of multiple extensions (foo.d.cmo, foo.p.cmx...)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-23 13:44:51 +00:00
Xavier Leroy 9dd6085165 PR#4152: avoid repeated calls to transl in transl_unbox_let
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7892 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-22 12:13:00 +00:00
Alain Frisch 5b23012b0e wrong branch... rollback
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7865 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:36:08 +00:00
Alain Frisch a06311fc5f starting to implement native dynlink for Unix
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7864 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-15 18:32:09 +00:00
Damien Doligez f700284aac fusion des changements 3.09.3 -> release309_merge310
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7849 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-02-09 13:31:15 +00:00
Xavier Leroy 4b5512c74c Stack backtraces on uncaught exceptions in native code (merge of the opt_backtrace branch)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 12:11:18 +00:00
Xavier Leroy 24d7c3c7f7 Compatibilite avec versions plus recentes de ml64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7810 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-24 14:14:28 +00:00
Xavier Leroy 8a2cea5444 Produce position-independent code by default. This makes it easier to embed Caml code in a shared library.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-01 13:07:35 +00:00
Xavier Leroy 5213cb0677 PR#4181: watch out for big constants in Ioffset_loc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7771 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-12-16 09:58:09 +00:00
Xavier Leroy 35d863e204 Utiliser link /lib comme partial linker sous Windows/MSVC; adapter versions Unix et Windows/Mingw en consequence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-18 08:21:24 +00:00
Xavier Leroy 5901580fe9 Better handling of .cmx files in combination with -for-pack (PR#4124)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7693 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-17 12:33:58 +00:00
Xavier Leroy f2027274dd gprof profiling support for MacOSX/Intel (PR#4087)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7692 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-16 08:40:42 +00:00
Xavier Leroy b32cd009b8 Dead code eliminated
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7667 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-03 11:51:57 +00:00
Xavier Leroy 8d3d91b9a3 Attempt to support Visual C++ 2005. Remain to be tested.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7636 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-23 08:51:31 +00:00
Xavier Leroy 840e64f9b1 PR#4110: error in computation of required stack size in case #arguments > 16
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7628 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-21 09:12:17 +00:00
Damien Doligez fbea66a95e fusion des changements 3.09.2 -> 3.09.3
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7619 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-09-20 11:14:37 +00:00
Xavier Leroy d9be4fee6a Portage PowerPC 64 bits
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-31 08:16:34 +00:00
Xavier Leroy 10bc3be245 Silence the ml64 assembler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7406 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:00:57 +00:00
Xavier Leroy 536dfe0d7c Ajout option /link /subsystem:console pour Windows/msvc et meilleur traitement des options /link passees via -ccopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7405 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-09 16:00:36 +00:00
Xavier Leroy b34288b2a1 Issues with Iconst_int of a constant that exceeds 32 bits signed
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7401 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-05 14:58:14 +00:00
Xavier Leroy e3ac89c82d Suite essais Win64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7398 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-05 13:50:14 +00:00
Xavier Leroy a8ac504984 First cut for AMD64/Win64 port of ocamlopt
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7395 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-05-04 12:43:40 +00:00
Damien Doligez 1279ab4b76 fusion des changements 3.09.1 -> 3.09.2
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7382 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-04-16 23:28:22 +00:00
Damien Doligez f6190f3d0c PR#1956 renommage: bigarray est prefixe par ocaml_ba_
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-27 14:33:42 +00:00
Damien Doligez 125ea40d4c fusion 3.09.0 -> 3.09.1
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7307 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-01-04 16:55:50 +00:00
Xavier Leroy c7cf15ccf0 Bug dans subst, cas Uletrec
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7157 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-24 09:05:27 +00:00
Xavier Leroy dbbd9f6ff5 Revu compilation let rec de fonctions pour eviter temps de compilation quadratique en le nombre de fonctions mutuellement recursives
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-21 07:55:01 +00:00
Xavier Leroy f7d58639e0 unused let
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7130 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-14 16:41:06 +00:00
Xavier Leroy cc11c0447a Ajout production de code relogeable (option -fPIC)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7121 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-13 03:53:52 +00:00