From 5d890f603f944bdc76e12daa6ceab55774bb7dc5 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Fri, 28 Jun 2013 15:29:11 +0000 Subject: if PIC is defined, make more code position independent --- amark.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/amark.asm b/amark.asm index e6f62dc..db51fd7 100644 --- a/amark.asm +++ b/amark.asm @@ -1280,7 +1280,12 @@ __shared_argument_part: __mark_no_selector_2: pop rbx __mark_no_selector_1: + ifdef PIC + lea r9,bit_set_table2+0 + mov edx,dword ptr [r9+rdx] + else mov edx,dword ptr (bit_set_table2)[rdx] + endif add r14,3 or dword ptr [rdi+rbx*4],edx cmp rdx,20000000h -- cgit v1.2.3