diff options
| author | Graydon Hoare <[email protected]> | 2010-11-16 13:51:32 -0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-11-16 13:51:32 -0800 |
| commit | 26ecec4e123781c6e99e92cf42ce585e33a861ef (patch) | |
| tree | 3da15ea6afe073b2b29e657749f9d53534030e4a /src/boot/be/macho.ml | |
| parent | Fix typo in x86 backend glue that was, by luck, only crashing on OSX. (diff) | |
| download | rust-26ecec4e123781c6e99e92cf42ce585e33a861ef.tar.xz rust-26ecec4e123781c6e99e92cf42ce585e33a861ef.zip | |
Update frame logic to be compatible with SysV x86 ABI. Improves diagnostics.
Diffstat (limited to 'src/boot/be/macho.ml')
| -rw-r--r-- | src/boot/be/macho.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/be/macho.ml b/src/boot/be/macho.ml index da3c8550..5d02b2c2 100644 --- a/src/boot/be/macho.ml +++ b/src/boot/be/macho.ml @@ -987,7 +987,7 @@ let emit_file Il.emit e (Il.umov edx_pointee (X86.ro X86.eax)); Il.emit e (Il.Push (X86.ro X86.eax)); - (* Calculte and store envp. *) + (* Calculate and store envp. *) Il.emit e (Il.binary Il.ADD (X86.rc X86.eax) (X86.ro X86.eax) (X86.imm (Asm.IMM 1L))); |