math: add drem and dremf weak aliases to i386 remainder asm
authorSzabolcs Nagy <nsz@port70.net>
Wed, 8 Jan 2014 21:51:46 +0000 (22:51 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 8 Jan 2014 21:51:46 +0000 (22:51 +0100)
weak_alias was only in the c code, so drem was missing on platforms
where remainder is implemented in asm.

src/math/i386/remainder.s
src/math/i386/remainderf.s

index 47ee34028afc6841ed63947b8abe441157989348..7f4be0519b04b02d4f4c3968a2e4c4c7c096b5a6 100644 (file)
@@ -1,6 +1,9 @@
 .global remainder
 .type remainder,@function
 remainder:
+.weak drem
+.type drem,@function
+drem:
        fldl 12(%esp)
        fldl 4(%esp)
 1:     fprem1
index 5b5fc2356f1d6b5335102ea0cb314b5e55e800e1..ac6e36779baf85e5bb3b244c53a0bc217a858fcd 100644 (file)
@@ -1,6 +1,9 @@
 .global remainderf
 .type remainderf,@function
 remainderf:
+.weak dremf
+.type dremf,@function
+dremf:
        flds 8(%esp)
        flds 4(%esp)
 1:     fprem1