rt: Implement record_sp for 64-bit mac

This commit is contained in:
Brian Anderson 2011-12-01 18:32:48 -08:00
parent dfb2c15bba
commit 8bf3d85b9d

View File

@ -13,6 +13,13 @@ RECORD_SP:
movq %rdi, %fs:112
ret
#else
#if defined(__APPLE__)
RECORD_SP:
movq $0x60+90*8, %rsi
movq %rdi, %gs:(%rsi)
ret
#else
RECORD_SP:
ret
#endif
#endif
#endif