From 8f2d75d53c18c56e419a4e998699f2b525d68f07 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 24 Oct 2011 12:33:08 -0700 Subject: switch over sqrt from llvm to c-stack-cdecl, exposing a bug in the supported return types of upcall_c_stack --- src/rt/arch/i386/ccall.S | 4 ++++ src/rt/rustrt.def.in | 1 + 2 files changed, 5 insertions(+) (limited to 'src/rt') diff --git a/src/rt/arch/i386/ccall.S b/src/rt/arch/i386/ccall.S index 44d0c217736..378ea5e0b67 100644 --- a/src/rt/arch/i386/ccall.S +++ b/src/rt/arch/i386/ccall.S @@ -6,10 +6,14 @@ // slower. #if defined(__APPLE__) || defined(_WIN32) .globl _upcall_call_c_stack +.globl _upcall_call_c_stack_float _upcall_call_c_stack: +_upcall_call_c_stack_float: #else .globl upcall_call_c_stack +.globl upcall_call_c_stack_float upcall_call_c_stack: +upcall_call_c_stack_float: #endif pushl %ebp movl %esp,%ebp // save esp diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in index 3430f77c892..6b70e283957 100644 --- a/src/rt/rustrt.def.in +++ b/src/rt/rustrt.def.in @@ -65,6 +65,7 @@ task_join unsupervise upcall_alloc_c_stack upcall_call_c_stack +upcall_call_c_stack_float upcall_cmp_type upcall_dynastack_alloc upcall_dynastack_alloc_2 -- cgit 1.4.1-3-g733a5