diff options
author | John van Groningen | 2013-06-17 15:01:16 +0000 |
---|---|---|
committer | John van Groningen | 2013-06-17 15:01:16 +0000 |
commit | 3dd6f4ecf0b5877c693a044dab7879145ff63844 (patch) | |
tree | 9b69ecd7f6f4f5a63cf04f7aa1083acdc1795a39 /macho64/astartup.s | |
parent | fix printing string parameter of function IO_error for mac os x (diff) |
fix DtoAC for records
Diffstat (limited to 'macho64/astartup.s')
-rw-r--r-- | macho64/astartup.s | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/macho64/astartup.s b/macho64/astartup.s index 31bfce3..1f1878b 100644 --- a/macho64/astartup.s +++ b/macho64/astartup.s @@ -1368,11 +1368,8 @@ printD: test al,2 ret DtoAC_record: - .if NEW_DESCRIPTORS - movsxd rbp,dword ptr (-6)[rax] - .else - movsx rbp,dword ptr (-4)[rbp] - .endif + movsxd rbx,dword ptr (-6)[rax] + lea rbp,(-6)[rax+rbx] jmp DtoAC_string_a2 DtoAC: test al,2 |