rt: Implement record_sp for 64-bit mac
This commit is contained in:
parent
dfb2c15bba
commit
8bf3d85b9d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user