2004-12-13 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Tue, 14 Dec 2004 13:15:39 +0000 (13:15 -0000)
committerZoltan Varga <vargaz@gmail.com>
Tue, 14 Dec 2004 13:15:39 +0000 (13:15 -0000)
commitcd4c490d7ffb9fc905781c393eff0c2eeb643198
tree20c5338db35e57298b1e15fd212877b597a31b9d
parent2ff40096cb78bb837b9d1df6766433ae43b79cdc
2004-12-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h: Add new opcodes.

* mini.h: Add new patch types. Add got_var to MonoCompile.

* mini.h mini-x86.c mini-amd64.c aot.c: Rename
mono_arch_get_aot_patch_offset () to mono_arch_get_patch_offset () and
make it work with all kinds of patchable code.

* inssel.brg inssel-x86.brg: Add new rules dealing with computing the
address of the GOT, and referencing entries in the GOT.

* mini.c: Add code to load the GOT address if needed by an opcode.

* aot.c mini-x86.h mini-x86.c cpu-pentium.md: Add support for position
independent AOT code on the x86 using an elf-style Global Offset Table.

svn path=/trunk/mono/; revision=37740
mono/mini/aot.c
mono/mini/cpu-pentium.md
mono/mini/inssel-x86.brg
mono/mini/inssel.brg
mono/mini/mini-amd64.c
mono/mini/mini-ops.h
mono/mini/mini-x86.c
mono/mini/mini-x86.h
mono/mini/mini.c
mono/mini/mini.h