Commit Graph

13 Commits (001c2d12836f9c5d3b688af1f83412d39a9be195)

Author SHA1 Message Date
Daniel Bünzli a7afd89003 s/string_of_int/Int.to_string/g 2018-11-07 13:52:02 +01:00
Anton Bachin 0746566e79 Don't emit .loc with negative column numbers
The Clang assembler does not accept these. They can arise when using
Location.none, for example in a PPX.
2016-04-14 13:30:10 -04:00
Damien Doligez 5401ce8473 Update headers for the new license.
Remains to be done: remove all headers in testsuite/tests.
2016-02-18 16:59:16 +01:00
Xavier Leroy eef84c432a PR#7037: don't put temporary asm file names into object files.
This way, builds are reproducible.
2015-12-13 18:40:04 +01:00
Damien Doligez b860d63145 whitespace cleanup, cut long lines, add some missing headers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16415 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-09-11 11:58:31 +00:00
Gabriel Scherer 90062a8a43 GPR#212 Emitaux: also emit column location
(Frédéric Bour)

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@16311 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-08-02 15:37:02 +00:00
Alain Frisch 654521cbd4 Support far relocations in Win64, using a custom local implementation of something similar to the GOT table. This allows loading .cmxs units far from the main process. Might fix #6594 as well.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15900 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-03-11 16:02:20 +00:00
Alain Frisch e5c5963a36 Revert previous commits (not ready yet).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15792 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-01-22 16:31:51 +00:00
Alain Frisch 3e80b6ceb5 Fix.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15790 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-01-22 15:03:29 +00:00
Alain Frisch 2535da8317 Adapt amd64 backends under windows in order to avoid relative relocations to symbols that could be defined in other images. This is necessary to allow .cmxs to be loaded at arbitrary addresses. 32-bit relative relocations could previously fail if the .cmxs was loaded too far from the main program. Require flexdll 0.34, which has improved support for __imp_X symbols.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15789 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2015-01-22 13:18:45 +00:00
Alain Frisch 25b4bcbf4a Merge Mem32/Mem64.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15620 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-02 10:58:31 +00:00
Alain Frisch 8b9733eb3a Support for the byte directive under solaris 32-bit.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15616 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-28 15:44:02 +00:00
Alain Frisch 9decba7731 Rename Intel_* to X86_*.
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/abstract_intel_emit@15612 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-27 17:12:21 +00:00