From 7bc3f294ce517d9c9947718e4d8995ce349bdd04 Mon Sep 17 00:00:00 2001 From: Super User Date: Mon, 2 Jun 2025 14:05:03 +0000 Subject: [PATCH] Added zig patch comments to annotate the deletion of the sincos symbol --- lib/libc/mingw/math/arm/sincos.S | 1 + lib/libc/mingw/math/arm64/sincos.S | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/libc/mingw/math/arm/sincos.S b/lib/libc/mingw/math/arm/sincos.S index d517f4cd55..ac22d45f25 100644 --- a/lib/libc/mingw/math/arm/sincos.S +++ b/lib/libc/mingw/math/arm/sincos.S @@ -8,6 +8,7 @@ .file "sincos.S" .text .align 2 + /* zig patch: remove sincos symbol because sincos in compiler_rt is used instead */ .globl __MINGW_USYMBOL(sincosl) .def __MINGW_USYMBOL(sincosl); .scl 2; .type 32; .endef __MINGW_USYMBOL(sincosl): diff --git a/lib/libc/mingw/math/arm64/sincos.S b/lib/libc/mingw/math/arm64/sincos.S index ba0854b78a..d6e92e3bba 100644 --- a/lib/libc/mingw/math/arm64/sincos.S +++ b/lib/libc/mingw/math/arm64/sincos.S @@ -8,6 +8,7 @@ .file "sincos.S" .text .align 2 + /* zig patch: remove sincos symbol because sincos in compiler_rt is used instead */ .globl __MINGW_USYMBOL(sincosl) .def __MINGW_USYMBOL(sincosl); .scl 2; .type 32; .endef __MINGW_USYMBOL(sincosl):