about summary refs log tree commit diff
path: root/src/rt/arch
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-11-29 13:15:48 -0800
committerBrian Anderson <banderson@mozilla.com>2011-11-29 13:47:54 -0800
commit9675343dc975a0159d5f7b52e4a7f72737f0549c (patch)
tree155c6f7aa09519fda7e3b642c604a0b0606f5773 /src/rt/arch
parent5ce33ceb7665c7a3366f05a50360d78bc4f65a66 (diff)
downloadrust-9675343dc975a0159d5f7b52e4a7f72737f0549c.tar.gz
rust-9675343dc975a0159d5f7b52e4a7f72737f0549c.zip
rt: Fix i386/morestack.S for static linking
Diffstat (limited to 'src/rt/arch')
-rw-r--r--src/rt/arch/i386/morestack.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rt/arch/i386/morestack.S b/src/rt/arch/i386/morestack.S
index b14b1ac8bdb..1b2536debeb 100644
--- a/src/rt/arch/i386/morestack.S
+++ b/src/rt/arch/i386/morestack.S
@@ -94,7 +94,8 @@ MORESTACK:
     movl NEW_STACK_ADDR,%eax
     movl %eax,(%esp)
     movl %edx,4(%esp)
-    calll UPCALL_CALL_C_STACK
+    // FIXME: Don't understand why just _here_ I have to say @PLT
+    calll UPCALL_CALL_C_STACK@PLT
 
     movl 12(%esp),%edx          // Grab the return pointer.
     addl $RETURN_OFFSET,%edx    // Skip past the `add esp,4` and the `ret`.