summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math/i386/remainder.s3
-rw-r--r--src/math/i386/remainderf.s3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/math/i386/remainder.s b/src/math/i386/remainder.s
index 47ee3402..7f4be051 100644
--- a/src/math/i386/remainder.s
+++ b/src/math/i386/remainder.s
@@ -1,6 +1,9 @@
.global remainder
.type remainder,@function
remainder:
+.weak drem
+.type drem,@function
+drem:
fldl 12(%esp)
fldl 4(%esp)
1: fprem1
diff --git a/src/math/i386/remainderf.s b/src/math/i386/remainderf.s
index 5b5fc235..ac6e3677 100644
--- a/src/math/i386/remainderf.s
+++ b/src/math/i386/remainderf.s
@@ -1,6 +1,9 @@
.global remainderf
.type remainderf,@function
remainderf:
+.weak dremf
+.type dremf,@function
+dremf:
flds 8(%esp)
flds 4(%esp)
1: fprem1