Fixes for backwards relocator

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-11-26 22:51:00 +01:00
parent f93415cfee
commit bbd46b0966
2 changed files with 8 additions and 9 deletions

View file

@ -27,13 +27,11 @@
#ifdef __x86_64__
#define RAX %rax
#define RCX %rcx
#define RDX %rdx
#define RDI %rdi
#define RSI %rdi
#else
#define RAX %eax
#define RCX %ecx
#define RDX %edx
#define RDI %edi
#define RSI %esi
#endif
@ -97,7 +95,7 @@ RELOCATOR_VARIABLE(size)
#ifdef BACKWARD
add RCX, RSI
add RDX, RDI
add RCX, RDI
#endif
#ifndef BACKWARD