diff options
author | John van Groningen | 2013-06-28 14:29:06 +0000 |
---|---|---|
committer | John van Groningen | 2013-06-28 14:29:06 +0000 |
commit | 0030e5f704a5910a4c6a204abc0ed134e8f420e4 (patch) | |
tree | 886d229d6f9746a9547fc822fb57b880352b950a | |
parent | if PIC is defined, make more code position independent (diff) |
if PIC is defined, make more code position independent
-rw-r--r-- | astartup.asm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/astartup.asm b/astartup.asm index c7c0eff..99d1947 100644 --- a/astartup.asm +++ b/astartup.asm @@ -2779,7 +2779,11 @@ end_call_finalizers: copy_to_compact_with_alloc_in_extra_heap: mov rcx,qword ptr heap2_begin_and_end+0 mov rdx,qword ptr (heap2_begin_and_end+8)+0 + ifdef PIC + lea rbx,heap_p2+0 + else mov rbx,offset heap_p2 + endif jmp gc1 allow_prefetch_for_athlon: |