about summary refs log tree commit diff
path: root/src/rt/arch
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-11-16 18:33:00 -0800
committerBrian Anderson <banderson@mozilla.com>2011-11-16 18:33:00 -0800
commitda4b7da4e142a4c2119312c0e24b7c20bbe74e60 (patch)
tree35ab347a8c79605ea6f5604fe590897b4c5fdf93 /src/rt/arch
parent68aff2ad6d55a051e9347aa38f945d114f282691 (diff)
rt: Make stack growth code build on Linux
Diffstat (limited to 'src/rt/arch')
-rw-r--r--src/rt/arch/i386/morestack.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rt/arch/i386/morestack.S b/src/rt/arch/i386/morestack.S
index ec356ea91c6..b8e14bdb579 100644
--- a/src/rt/arch/i386/morestack.S
+++ b/src/rt/arch/i386/morestack.S
@@ -106,7 +106,7 @@ L$bail:
 
 #ifdef __APPLE__
 
-	.section	__IMPORT,__pointers,non_lazy_symbol_pointers
+		.section	__IMPORT,__pointers,non_lazy_symbol_pointers
 rust_new_stack_sym:
     .indirect_symbol RUST_NEW_STACK
     .long 0
@@ -114,5 +114,10 @@ rust_del_stack_sym:
     .indirect_symbol RUST_DEL_STACK
     .long 0
 
+#else
+
+rust_new_stack_sym:
+rust_del_stack_sym:
+
 #endif