Xavier Leroy
2eecf2d4c0
PR#5487: addition of CFI directives and a few filename/linenumber info to generated amd64 and i386 assembly files.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12179 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-02-21 17:41:02 +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
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
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
Xavier Leroy
c41682fdc1
Typo in call to caml_c_call
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7813 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2007-01-29 15:44:42 +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
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
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
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
af9b98fcbb
Ajout de pseudo-registres supplementaires pour le passage de plus de 6 arguments
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-08-12 13:37:12 +00:00
Damien Doligez
258688a333
depollution suite (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6050 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-03 12:51:20 +00:00
Damien Doligez
0c7aecb88d
depollution suite (et fin?) (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez
5a678d29f5
depollution suite (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez
331b2d89c3
depollution suite (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Xavier Leroy
a82c366504
Portage Mingw et revision du portage Win32/MSVC
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4899 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-06-07 09:49:45 +00:00
Xavier Leroy
71cf31f0e2
Ajout du packaging d'unites de compilation (option -pack)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4367 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-08 16:55:44 +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
Xavier Leroy
fd8846fecd
Portage Cygwin
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3270 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-08-10 09:58:08 +00:00
Xavier Leroy
1fc102caa7
Adaptation pour BSD
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2891 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-02-29 16:15:59 +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
26d4b308cf
Ajout de bsd_elf
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-10-14 13:35:23 +00:00
Xavier Leroy
68829a504b
Portage BeOS/Intel x86
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2376 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-05-18 18:46:17 +00:00
Xavier Leroy
6e1aa1f7f1
Ajout de callback*_exn
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2284 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-02-14 16:48:25 +00:00
Xavier Leroy
5f01ac8bc8
Adaptation a Solaris
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2227 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-12-07 12:55:25 +00:00
Xavier Leroy
83cd7cac3d
Optimisation de la selection d'instruction (les checkbounds peuvent apparaitre dans des expressions simples, c'est bon pour le flottant Intel)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2224 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-12-03 17:28:53 +00:00
Xavier Leroy
e119edf522
Probleme de profiling (dans PROFILE_CAML, il faut sauver %ebp car caml_alloc* doivent preserver tous les registres)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2100 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-10-01 12:21:22 +00:00
Xavier Leroy
49521cb928
Ajout du profiling par gprof (ocamlopt -p)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2025 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-08-06 13:27:38 +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
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
Damien Doligez
03ec746bf1
deTABisation
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-19 15:42:21 +00:00
Xavier Leroy
c41e852408
Suppression de caml_top_of_stack.
...
Partage de code entre caml_start_program et callback*.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1400 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-17 10:17:32 +00:00
Xavier Leroy
720ef59b1c
Portage Solaris/x86
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@987 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-09-18 12:43:46 +00:00
Xavier Leroy
64150b4f8e
Suppression de l'alignement a 16, utile seulement sur le 486 et
...
nuisible sur le Pentium.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@903 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-06-25 09:28:17 +00:00
Xavier Leroy
c8cf7ab181
Erreur dans la sequence d'appel du GC a partir de caml_alloc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@852 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-29 08:59:46 +00:00
Xavier Leroy
2a309d688f
Ne plus utiliser de registres flottants
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@825 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-16 19:39:26 +00:00
Xavier Leroy
5680e13197
Bug dans les nouveaux caml_alloc*
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@821 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-05-16 14:19:17 +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
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
076b2465f0
Nettoyage
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@640 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-02-18 14:43:40 +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
f06a911238
Quand callback intercepte une exception, restaurer
...
caml_last_return_address et caml_bottom_of_stack.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@569 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-22 09:40:50 +00:00
Xavier Leroy
67f1be4ea1
Signaux, suite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@564 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-21 12:29:49 +00:00
Xavier Leroy
0ad6877907
Signaux: premier jet
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@563 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-21 11:01:45 +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
c4eee32bcd
Laisser le FPU dans l'etat initial. Le bit IM a zero fait trapper sur debordement de pile (bon), mais aussi sur 0 / 0 (mauvais).
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@528 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-10 17:03:02 +00:00
Xavier Leroy
024386fa6f
Ajout initialisation du hard flottant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@525 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-10 15:53:00 +00:00
Xavier Leroy
b9ad7d8946
Plus que 4 registres flottants a nettoyer. caml_c_call_noalloc supprimee car expansee en ligne maintenant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@520 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1995-12-10 09:33:09 +00:00