musl: Fix CVE-2019-14697
[openwrt/openwrt.git] / toolchain / musl / patches / 031-fix-build-regression-in-i386-asm-for-atan2-atan2f.patch
1 From 6818c31c9bc4bbad5357f1de14bedf781e5b349e Mon Sep 17 00:00:00 2001
2 From: Rich Felker <dalias@aerifal.cx>
3 Date: Mon, 5 Aug 2019 19:57:07 -0400
4 Subject: fix build regression in i386 asm for atan2, atan2f
5
6 commit f3ed8bfe8a82af1870ddc8696ed4cc1d5aa6b441 inadvertently removed
7 labels that were still needed.
8 ---
9 src/math/i386/atan2.s | 2 +-
10 src/math/i386/atan2f.s | 2 +-
11 2 files changed, 2 insertions(+), 2 deletions(-)
12
13 --- a/src/math/i386/atan2.s
14 +++ b/src/math/i386/atan2.s
15 @@ -11,4 +11,4 @@ atan2:
16 jae 1f
17 # subnormal x, return x with underflow
18 fsts 4(%esp)
19 - ret
20 +1: ret
21 --- a/src/math/i386/atan2f.s
22 +++ b/src/math/i386/atan2f.s
23 @@ -13,4 +13,4 @@ atan2f:
24 fld %st(0)
25 fmul %st(1)
26 fstps 4(%esp)
27 - ret
28 +1: ret