Skip to content

Commit 597dd32

Browse files
authored
Merge pull request #24034 from papparapa/remove-musl-trigonometric-function
libc: replace musl's and MinGW's trigonometric functions with compiler_rt's
2 parents 2543e2d + 7bc3f29 commit 597dd32

File tree

19 files changed

+2
-802
lines changed

19 files changed

+2
-802
lines changed

lib/libc/mingw/math/arm/sincos.S

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
.file "sincos.S"
99
.text
1010
.align 2
11-
.globl __MINGW_USYMBOL(sincos)
11+
/* zig patch: remove sincos symbol because sincos in compiler_rt is used instead */
1212
.globl __MINGW_USYMBOL(sincosl)
13-
.def __MINGW_USYMBOL(sincos); .scl 2; .type 32; .endef
1413
.def __MINGW_USYMBOL(sincosl); .scl 2; .type 32; .endef
15-
__MINGW_USYMBOL(sincos):
1614
__MINGW_USYMBOL(sincosl):
1715
push {r4, r5, r11, lr}
1816
add r11, sp, #8

lib/libc/mingw/math/arm/sincosf.S

Lines changed: 0 additions & 29 deletions
This file was deleted.

lib/libc/mingw/math/arm64/sincos.S

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@
88
.file "sincos.S"
99
.text
1010
.align 2
11-
.globl __MINGW_USYMBOL(sincos)
11+
/* zig patch: remove sincos symbol because sincos in compiler_rt is used instead */
1212
.globl __MINGW_USYMBOL(sincosl)
13-
.def __MINGW_USYMBOL(sincos); .scl 2; .type 32; .endef
1413
.def __MINGW_USYMBOL(sincosl); .scl 2; .type 32; .endef
15-
__MINGW_USYMBOL(sincos):
1614
__MINGW_USYMBOL(sincosl):
1715
str d8, [sp, #-32]!
1816
str x30, [sp, #8]

lib/libc/mingw/math/arm64/sincosf.S

Lines changed: 0 additions & 31 deletions
This file was deleted.

lib/libc/mingw/math/x86/cosf.c

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/libc/mingw/math/x86/cossin.c

Lines changed: 0 additions & 52 deletions
This file was deleted.

lib/libc/mingw/math/x86/sinf.c

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/libc/mingw/math/x86/tanf.c

Lines changed: 0 additions & 11 deletions
This file was deleted.

lib/libc/musl/src/math/cos.c

Lines changed: 0 additions & 77 deletions
This file was deleted.

lib/libc/musl/src/math/cosf.c

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)