about summary refs log tree commit diff
path: root/src/rt/arch
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-03-21 14:12:12 -0700
committerBrian Anderson <banderson@mozilla.com>2012-03-21 19:10:31 -0700
commit1cb35c9b2653d437e1981f4162a436e5e2766074 (patch)
tree657572c9485384d72357d815e0b7c917b579e194 /src/rt/arch
parentba322b0a700d274089f740b699d763210ac4578d (diff)
downloadrust-1cb35c9b2653d437e1981f4162a436e5e2766074.tar.gz
rust-1cb35c9b2653d437e1981f4162a436e5e2766074.zip
rt: Rename record_sp to record_sp_limit
Diffstat (limited to 'src/rt/arch')
-rw-r--r--src/rt/arch/i386/record_sp.S12
-rw-r--r--src/rt/arch/x86_64/record_sp.S14
2 files changed, 13 insertions, 13 deletions
diff --git a/src/rt/arch/i386/record_sp.S b/src/rt/arch/i386/record_sp.S
index 1b698ed74bf..b9a08d9f9f3 100644
--- a/src/rt/arch/i386/record_sp.S
+++ b/src/rt/arch/i386/record_sp.S
@@ -1,28 +1,28 @@
 .text
 
 #if defined(__APPLE__) || defined(_WIN32)
-#define RECORD_SP          _record_sp
+#define RECORD_SP_LIMIT    _record_sp_limit
 #define GET_SP             _get_sp
 #define CHECK_STACK        _check_stack_alignment
 #else
-#define RECORD_SP          record_sp
+#define RECORD_SP_LIMIT    record_sp_limit
 #define GET_SP             get_sp
 #define CHECK_STACK        check_stack_alignment
 #endif
 
-.globl RECORD_SP
+.globl RECORD_SP_LIMIT
 .globl GET_SP
 .globl CHECK_STACK
 
 #if defined(__linux__) || defined(__FreeBSD__)
-RECORD_SP:
+RECORD_SP_LIMIT:
 	movl 4(%esp), %eax
 	movl %eax, %gs:48
 	ret
 #endif
 
 #if defined(__APPLE__)
-RECORD_SP:
+RECORD_SP_LIMIT:
 	movl $0x48+90*4, %eax
 	movl 4(%esp), %ecx
 	movl %ecx, %gs:(%eax)
@@ -30,7 +30,7 @@ RECORD_SP:
 #endif
 
 #if defined(_WIN32)
-RECORD_SP:
+RECORD_SP_LIMIT:
 	movl 4(%esp), %eax
 	movl %eax, %fs:0x14
 	ret
diff --git a/src/rt/arch/x86_64/record_sp.S b/src/rt/arch/x86_64/record_sp.S
index 3b238d33c77..87b6633d9f2 100644
--- a/src/rt/arch/x86_64/record_sp.S
+++ b/src/rt/arch/x86_64/record_sp.S
@@ -1,34 +1,34 @@
 .text
 
 #if defined(__APPLE__) || defined(_WIN32)
-#define RECORD_SP          _record_sp
+#define RECORD_SP_LIMIT    _record_sp_limit
 #define GET_SP             _get_sp
 #define CHECK_STACK        _check_stack_alignment
 #else
-#define RECORD_SP          record_sp
+#define RECORD_SP_LIMIT    record_sp_limit
 #define GET_SP             get_sp
 #define CHECK_STACK        check_stack_alignment
 #endif
 
-.globl RECORD_SP
+.globl RECORD_SP_LIMIT
 .globl GET_SP
 .globl CHECK_STACK
 
 #if defined(__linux__)
-RECORD_SP:
+RECORD_SP_LIMIT:
 	movq %rdi, %fs:112
 	ret
 #elif defined(__APPLE__)
-RECORD_SP:
+RECORD_SP_LIMIT:
 	movq $0x60+90*8, %rsi
 	movq %rdi, %gs:(%rsi)
 	ret
 #elif defined(__FreeBSD__)
-RECORD_SP:
+RECORD_SP_LIMIT:
 	movq %rdi, %fs:24
 	ret
 #else
-RECORD_SP:
+RECORD_SP_LIMIT:
 	ret
 #endif