在 2025-3-31 21:23, LIU Hao 写道:
These macros are to be used with `fesetenv()`, so they belong there.
Having these `selectany` variables in 'fenv.h' causes them to be defined with
external linkage in every source file which includes 'fenv.h'. They can also
be exported inappropriately from a DLL, w
From: Billy Laws
Calls to this are synthesized by the linker where it is used for calling
into import libraries, this is referred to as an 'Adjustor Thunk' in
ARM64EC documentation.
---
mingw-w64-crt/crt/chpe.S | 23 +++
1 file changed, 23 insertions(+)
diff --git a/mingw-w6
From: Billy Laws
These are populated by the linker, and then used by the loader and
emulator at runtime to allow for ARM64EC <-> X86_64 interoperability.
---
mingw-w64-crt/Makefile.am | 3 ++
mingw-w64-crt/crt/chpe.S| 85 +
mingw-w64-crt/crt/loadcfg.S |
From: Billy Laws
This introduces basic ARM64EC build support by reusing a modified ARM64
configuration. In the future, the goal is to include both native and
ARM64EC object files in aarch64 archives.
This setup is still subject to change.
---
mingw-w64-crt/Makefile.am | 6 +-
mingw-w64-cr
On Saturday 29 March 2025 18:56:56 Lasse Collin wrote:
> On 2025-03-29 Pali Rohár wrote:
> > On Saturday 29 March 2025 12:19:19 Lasse Collin wrote:
> > > On 2025-03-28 Pali Rohár wrote:
> > > > On Saturday 22 March 2025 15:35:48 Lasse Collin wrote:
> > > > > If I build with "clang -O2 -fsanitiz
---
mingw-w64-crt/Makefile.am | 1 +
mingw-w64-crt/testcases/t_aligned_alloc.c | 134 ++
2 files changed, 135 insertions(+)
create mode 100644 mingw-w64-crt/testcases/t_aligned_alloc.c
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index
It mimics msvc _aligned_msize() function.
---
mingw-w64-crt/misc/mingw-aligned-malloc.c | 23 +++
mingw-w64-headers/crt/malloc.h| 1 +
2 files changed, 24 insertions(+)
diff --git a/mingw-w64-crt/misc/mingw-aligned-malloc.c
b/mingw-w64-crt/misc/mingw-aligned-mall
Functions _aligned_free(), _aligned_malloc(), _aligned_offset_malloc(),
_aligned_offset_realloc() and _aligned_realloc() are available since
msvcr70.dll. For older CRT import libraries provide emulation via
mingw functions __mingw_aligned_free(), __mingw_aligned_malloc(),
__mingw_aligned_offset_mal
Function _aligned_msize() is available only in msvcr80+ and UCRT. It is not
available in msvcrt.dll system os library.
---
mingw-w64-crt/Makefile.am | 2 ++
mingw-w64-crt/misc/_aligned_msize.c | 13 +
mingw-w64-headers/crt/crtdbg.h | 2 --
mingw-w64-headers/crt/malloc.
They are natively available since msvcr80.dll, they are not available in
msvcrt.dll. Provide compatibility emulation into all import libraries where
they are not available.
Adjust check for _aligned_msize() which is also available since
msvcr80.dll.
---
mingw-w64-crt/Makefile.am
There is already declaration for msvcrt _aligned_offset_malloc() function,
so add export also declaration for mingw __mingw_aligned_offset_malloc()
function.
At the same time, remove also uneeded declaration of this function from
mingw-w64-crt/misc/mingw-aligned-malloc.c file and use the new one f
This patch series provides all _aligned_* functions for all CRT import libs.
PATCH v2 contains fixes and new test case.
Pali Rohár (6):
headers: Add missing declaration for __mingw_aligned_offset_malloc()
crt: Provide _aligned_* functions
crt: Provide *_recalloc functions
crt: Implement _
On Sun, 6 Apr 2025, Jacek Caban wrote:
---
mingw-w64-headers/crt/math.h | 162 ---
1 file changed, 162 deletions(-)
LGTM, thanks!
// Martin
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
ht
---
mingw-w64-headers/crt/math.h | 162 ---
1 file changed, 162 deletions(-)
diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h
index dc1599ed5..65c41cd6d 100644
--- a/mingw-w64-headers/crt/math.h
+++ b/mingw-w64-headers/crt/math.h
@@ -766,90
On 4.04.2025 21:25, Martin Storsjö wrote:
On Fri, 4 Apr 2025, Jacek Caban wrote:
From: Billy Laws
Signed-off-by: Jacek Caban
---
mingw-w64-headers/crt/math.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-headers/crt/math.h b/mingw-w64-headers/crt/math.h
index d
15 matches
Mail list logo