From 4affb2b02e486681b39add0dbaf4f873a91885c8 Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Fri, 25 Aug 2017 14:55:22 +0200 Subject: Prefixed runtime functions. The runtime functions are prefixed with compcert in order to avoid potential clashes with runtime/builtin functions of other compilers. Bug 22062 --- runtime/powerpc/i64_stof.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'runtime/powerpc/i64_stof.s') diff --git a/runtime/powerpc/i64_stof.s b/runtime/powerpc/i64_stof.s index 05b36a78..97fa6bb8 100644 --- a/runtime/powerpc/i64_stof.s +++ b/runtime/powerpc/i64_stof.s @@ -39,8 +39,8 @@ ### Conversion from signed long to single float .balign 16 - .globl __i64_stof -__i64_stof: + .globl __compcert_i64_stof +__compcert_i64_stof: mflr r9 # Check whether -2^53 <= X < 2^53 srawi r5, r3, 31 @@ -59,10 +59,10 @@ __i64_stof: or r4, r4, r0 # correct bit number 12 of X rlwinm r4, r4, 0, 0, 20 # set to 0 bits 0 to 11 of X # Convert to double, then round to single -1: bl __i64_stod +1: bl __compcert_i64_stod mtlr r9 frsp f1, f1 blr - .type __i64_stof, @function - .size __i64_stof, .-__i64_stof + .type __compcert_i64_stof, @function + .size __compcert_i64_stof, .-__compcert_i64_stof -- cgit