fix double-processing of DT_RELR relocations in ldso relocating itself
[musl] / src / math / x86_64 / expl.s
index 107f3f5..798261d 100644 (file)
@@ -28,7 +28,7 @@ expl:
 
                # should be 0x1.71547652b82fe178p0L == 0x3fff b8aa3b29 5c17f0bc
                # it will be wrong on non-nearest rounding mode
-3:     fldl2e
+2:     fldl2e
        subq $48, %rsp
                # hi = log2e_hi*x
                # 2^hi = exp2l(hi)
@@ -37,7 +37,7 @@ expl:
        fstpt (%rsp)
        fstpt 16(%rsp)
        fstpt 32(%rsp)
-       call exp2l
+       call exp2l@PLT
                # if 2^hi == inf return 2^hi
        fld %st(0)
        fstpt (%rsp)