--
Best regards,
LIU Hao
From d9bcae01bb0cbfaa8b6d35ab5dd6d5e7b9b98edd Mon Sep 17 00:00:00 2001
From: LIU Hao
Date: Tue, 11 Feb 2025 10:34:14 +0800
Subject: [PATCH] crt/delayimp: Make an IAT entry writeable before modifying it
Since Binutils 2.44, the import address table (abbr. IAT) is now re
Symbol aliases __p__daylight/__p__dstbias/__p__timezone/__p__tzname are
already present in crt-aliases.def.in for ucrtbase.dll builds since commit
469e8e419bbe ("crt: Provide __daylight(), __dstbias(), __timezone() and
__tzname() functions for pre-msvcr80 builds") but are not present in
api-ms-win-
Fixes commit ee481ee9392c ("crt: Move ftime symbol definition from _ftime.c
to crt-aliases.def.in"). It added ftime symbol only to crt-aliases.def.in
which is not used by api-ms-win-crt-* def files for UCRT builds.
---
mingw-w64-crt/lib-common/api-ms-win-crt-time-l1-1-0.def.in | 2 ++
1 file chang
Based on Wine code by Piotr Caban and Alexandre Julliard, who granted
permission to use it under the mingw-w64 license.
Unlike earlier versions, msvcr120 and UCRT implement fenv.h, but their
representation differs from what mingw-w64
has used so far. fenv_t has a target-independent layout and fl
---
mingw-w64-crt/math/truncl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/mingw-w64-crt/math/truncl.c b/mingw-w64-crt/math/truncl.c
index 3b47e53d1..d1b296661 100644
--- a/mingw-w64-crt/math/truncl.c
+++ b/mingw-w64-crt/math/truncl.c
@@ -3,7 +3,7 @@
* This file is
Hi Hao,
Thanks for replying to this query.
I'm afraid that I simply don't have the scope to go through a binutils
change request. I was hoping that a link script might work to inject the
binary section manually. If it is simply not possible for GNU binutils
to inject custom PE directory entry