rt: Implement record_sp for 64-bit linux

This commit is contained in:
Brian Anderson 2011-11-27 19:00:08 -08:00
parent f3a8e228c2
commit 020d8f12a0

View File

@ -8,5 +8,10 @@
.globl RECORD_SP
#if defined(__linux__)
RECORD_SP:
movq %rdi, %fs:112
#else
RECORD_SP:
ret
#endif