Commit Graph

43 Commits (ff6c5b70ceadeb50979791056031f5fc8f36455b)

Author SHA1 Message Date
Xavier Leroy dbea9ee230 Reflecting commit r14943 on version/4.02:
PR#6082: on x86-32, enforce 16-byte stack alignment for compatibility
with recent GCC and Clang.  Win32/MSVC keeps 4-byte stack alignment.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14944 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-06-02 17:11:40 +00:00
Xavier Leroy 055d5c0379 Port to the ARM 64-bits (AArch64) architecture (experimental).
Merge of branch branches/arm64.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13909 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-07-18 16:09:20 +00:00
Damien Doligez c63f9e0957 fix a few problems with whitespace and over-long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13393 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2013-03-09 22:38:52 +00:00
Damien Doligez def31744f9 remove all $Id keywords
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Xavier Leroy 339bcbb2c6 PR#5064, PR#5485: try to ensure that 4K words of stack are available
before calling into C functions, raising a Stack_overflow exception
otherwise.  This reduces (but does not eliminate) the risk of
segmentation faults due to stack overflow in C code.
Implemented for i386, amd64 and power, under Linux and MacOSX.
Plus: remove some more stuff related to obsoleted platforms (IA64, SunOS 4).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12159 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-17 10:12:09 +00:00
Damien Doligez e7f5b858c2 More renaming to OCaml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12149 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-10 16:15:24 +00:00
Damien Doligez 3b507dd1aa renaming of Objective Caml to OCaml and cleanup of copyright headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Xavier Leroy 09ba69134f - Refactoring of otherlibs/systhreads
- PR#4702: added C functions to register threads not created by Caml
- PR#5013: wrong implementation of condition variables under Win32
- PR#4979: wrong error code handling under Win32
- Added standard include <caml/threads.h> 
- Added "stack_size" field in GC statistics.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10315 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-04-27 07:55:08 +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
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
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 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
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
Xavier Leroy 3de54dec26 Remplacement long/unsigned long par intnat/uintnat
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Damien Doligez aa46693dc5 depollution (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-16 18:09:44 +00:00
Xavier Leroy bc33391898 Portage AMD64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5634 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-30 08:28:48 +00:00
Damien Doligez 0c39583400 alignement stack frames a 16 octets sur powerpc
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-20 15:17:52 +00:00
Xavier Leroy 7501784c80 MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Damien Doligez 5f4fd94902 bug de Gc.counters + blindage des macros
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3635 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-13 13:53:51 +00:00
Xavier Leroy 176441f93b Suite portage IA64
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3222 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-06-30 16:37:42 +00:00
Damien Doligez 9968714ee2 optimisation des racines globales pour le GC mineur
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2733 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-01-05 13:16:31 +00:00
Xavier Leroy cc0f32b054 Changement de la licence
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Xavier Leroy b71badac85 Mips/Irix: passage en mode -n32. Mips/Ultrix: suppression
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2183 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-11-18 18:10:53 +00:00
Xavier Leroy 66ae9423a7 Portage ARM
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2120 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-10-15 16:10:53 +00:00
Xavier Leroy 5866ccca18 Revision de l'interface avec le GC, suite
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1812 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-27 16:28:40 +00:00
Xavier Leroy 92a3d57ea6 Nouvelle interface GC pour Alpha (debut)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1805 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-25 13:30:05 +00:00
Xavier Leroy 20d3b7872e Nouvelle interface avec le GC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1802 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-25 12:51:38 +00:00
Xavier Leroy beaa636723 Revision de l'interface avec le GC, debut
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1797 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-21 13:46:23 +00:00
Xavier Leroy 5721a56975 Rendre public gc_entry_regs[32] et gc_entry_float_regs[32]
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1794 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-20 15:31:10 +00:00
Xavier Leroy 55c3fbdf7d Pour l'Alpha, 1 -> 1L dans les masques.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1532 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-13 14:03:16 +00:00
Xavier Leroy 9a374eb4d6 Portage 680x0.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1093 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-24 16:14:57 +00:00
Xavier Leroy 2395d35d86 stack.h: suppression du marquage des adresses de retour dans les stack frames
(ne gagne pas de temps sauf sur KB).
startup.c: ne pas faire sys_exit a la fin de caml_main.


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-10-07 13:20:04 +00:00
Xavier Leroy 76104a251c Suite du portage PowerPC/MkLinux
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@917 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-07-03 18:39:36 +00:00
Xavier Leroy b60c454313 stack.h: retour en arriere sur un essai commis par erreur.
i386.S: nouvelles conventions d'appel de caml_call_gc (on ne passe
plus la taille).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@813 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-14 16:51:42 +00:00
Xavier Leroy 335456099a MAJ des dependances. MAJ de ocamlcp.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@808 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-11 18:26:49 +00:00
Xavier Leroy 2301d778e7 Renommage en Objective Caml
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy c8ea6d04fd callback: bug dans l'interception des exceptions corrige.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-01-07 16:58:44 +00:00
Xavier Leroy 9c85a54888 Portage PowerPC
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-01-06 18:56:39 +00:00
Xavier Leroy 1f158d3492 Ajout callback et signaux pour HPPA
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-22 14:55:29 +00:00
Xavier Leroy e49ed7cea8 Callbacks pour le Mips.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@561 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-20 15:20:00 +00:00
Xavier Leroy 63ee36fc48 Implementation de callback.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-20 13:27:16 +00:00
Xavier Leroy 4fabf7b6b6 Ajout de l'include stack.h.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@557 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-20 10:41:22 +00:00