diff options
author | John van Groningen | 2013-12-04 16:23:13 +0000 |
---|---|---|
committer | John van Groningen | 2013-12-04 16:23:13 +0000 |
commit | 1bcff65cd748f5c51f5a09976e6b8e57b5bf618b (patch) | |
tree | aee300685a5942d09a14856e31fafecf5306dd3d /acopy.asm | |
parent | make global_argc and global_argv globally visible (diff) |
if shared libraries are used on 64 bit linux,
the descriptors in _system may be at larger addresses than other descriptors,
therefore extra tests are necessary in the garbage collector
Diffstat (limited to 'acopy.asm')
-rw-r--r-- | acopy.asm | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1235,9 +1235,19 @@ copy_arity_0_node2_: ret copy_string_or_array_2: + ifdef PIC + je copy_string_2 + lea r9,__ARRAY__+2+0 + cmp rcx,r9 + jb copy_normal_hnf_0_2 + mov rcx,rdx + jmp copy_array_2 +copy_string_2: + mov rcx,rdx + else mov rcx,rdx jne copy_array_2 - + endif sub rdx,heap_p1+0 cmp rdx,semi_space_size+0 jae copy_string_or_array_constant |