aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/x86_32/i64_smod.S
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2017-08-25 14:55:22 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2017-08-25 14:55:22 +0200
commit4affb2b02e486681b39add0dbaf4f873a91885c8 (patch)
tree06b045ee98934b00c341071758c9b905ecad057f /runtime/x86_32/i64_smod.S
parent95ed4ea7df3e4b05d623afb9cb65f0eb2653361b (diff)
downloadcompcert-kvx-4affb2b02e486681b39add0dbaf4f873a91885c8.tar.gz
compcert-kvx-4affb2b02e486681b39add0dbaf4f873a91885c8.zip
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
Diffstat (limited to 'runtime/x86_32/i64_smod.S')
-rw-r--r--runtime/x86_32/i64_smod.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/x86_32/i64_smod.S b/runtime/x86_32/i64_smod.S
index 28f47ad4..f2069d69 100644
--- a/runtime/x86_32/i64_smod.S
+++ b/runtime/x86_32/i64_smod.S
@@ -38,7 +38,7 @@
// Signed remainder
-FUNCTION(__i64_smod)
+FUNCTION(__compcert_i64_smod)
pushl %ebp
pushl %esi
pushl %edi
@@ -57,7 +57,7 @@ FUNCTION(__i64_smod)
adcl $0, %esi
negl %esi
movl %esi, 28(%esp)
-2: call GLOB(__i64_udivmod)
+2: call GLOB(__compcert_i64_udivmod)
testl %ebp, %ebp // apply sign to result
jge 3f
negl %eax
@@ -67,4 +67,4 @@ FUNCTION(__i64_smod)
popl %esi
popl %ebp
ret
-ENDFUNCTION(__i64_smod)
+ENDFUNCTION(__compcert_i64_smod)