diff options
author | John van Groningen | 2013-07-02 12:44:14 +0000 |
---|---|---|
committer | John van Groningen | 2013-07-02 12:44:14 +0000 |
commit | 5418183deabccd21e0432fe37b44efc444062908 (patch) | |
tree | ca2dddedba7050ce15d1903d669cfd02451a8396 | |
parent | add +0 to a pc relative address, converted to [rip] on linux (diff) |
use 31*8 instead of 31*9 in and instruction
-rw-r--r-- | acompact.asm | 2 | ||||
-rw-r--r-- | macho64/acompact.s | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/acompact.asm b/acompact.asm index af3e9ab..9d2ce03 100644 --- a/acompact.asm +++ b/acompact.asm @@ -96,7 +96,7 @@ determine_free_finalizers_after_compact1: mov rax,qword ptr neg_heap_p3+0 add rax,rbp mov rbx,rax - and rax,31*9 + and rax,31*8 shr rbx,8 mov esi,dword ptr (bit_set_table2)[rax] test esi,dword ptr [rdi+rbx*4] diff --git a/macho64/acompact.s b/macho64/acompact.s index 242b6fc..8909c6e 100644 --- a/macho64/acompact.s +++ b/macho64/acompact.s @@ -95,8 +95,8 @@ determine_free_finalizers_after_compact1: mov rax,qword ptr neg_heap_p3[rip] add rax,rbp - mov rbx,rax - and rax,31*9 + mov rbx,rax + and rax,31*8 shr rbx,8 lea r9,bit_set_table2[rip] mov esi,dword ptr [r9+rax] |