The address was loaded from the TOC into register r0. This generated bad code in the "big TOC" case, as r0 was used as index register. The fix is to use another temporary register instead of r0.
Add "arch_power" builtin to ocamltest.
Add test case.
This commit distinguishes the OS tests from the library tests.
It introduces the "libunix" and "libwin32unix" tests to figure out which
library is used.
It also changes to meaning of the "windows" test to pass on all Windows platforms.
Finally, a "not-windows" test is introduced, to be used until negation
on tests is implemented.
This commit contains:
- The initial version of the tool itself, in the ocamltest directory
- The required additions to the main .gitignore and .merlin files.
The integration of ocamltest in OCaml's main build system and its use
in the testsuite are not part of this commit.
Credits go to David Allsopp for
- Extending the computation of ocamlsrcdir to the Windows case
- Making ocamltest compile when flexlink
is being bootstrapped.