aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/musl/patches/031-fix-build-regression-in-i386-asm-for-atan2-atan2f.patch
blob: 8c5161b52ca99333933b3782749ab29dd4f884af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 6818c31c9bc4bbad5357f1de14bedf781e5b349e Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Mon, 5 Aug 2019 19:57:07 -0400
Subject: fix build regression in i386 asm for atan2, atan2f

commit f3ed8bfe8a82af1870ddc8696ed4cc1d5aa6b441 inadvertently removed
labels that were still needed.
---
 src/math/i386/atan2.s  | 2 +-
 src/math/i386/atan2f.s | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/src/math/i386/atan2.s
+++ b/src/math/i386/atan2.s
@@ -11,4 +11,4 @@ atan2:
 	jae 1f
 		# subnormal x, return x with underflow
 	fsts 4(%esp)
-	ret
+1:	ret
--- a/src/math/i386/atan2f.s
+++ b/src/math/i386/atan2f.s
@@ -13,4 +13,4 @@ atan2f:
 	fld %st(0)
 	fmul %st(1)
 	fstps 4(%esp)
-	ret
+1:	ret