[Mingw-w64-public] [PATCH] crt: Preserve special variables when LTO is in effect

2022-12-26 Thread LIU Hao
-- Best regards, LIU Hao From 1288ab9f2a965bcca5513b36bd29e906c4b7ee2f Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Tue, 27 Dec 2022 14:32:37 +0800 Subject: [PATCH] crt: Preserve special variables when LTO is in effect Variables that are required to be placed in explicit sections probably have

Re: [Mingw-w64-public] [RFC PATCH] headers: Add robuffer.idl to generate robuffer.h

2022-12-26 Thread LIU Hao
在 2022-12-25 23:27, Alvin Wong via Mingw-w64-public 写道: Signed-off-by: Alvin Wong --- Implemented according to https://learn.microsoft.com/en-us/windows/win32/api/robuffer/. This file defines the Windows::Storage::Streams::IBufferByteAccess interface which implementors of (ABI::)Windows::Storage

Re: [Mingw-w64-public] [PATCH] headers: Add shcore.h

2022-12-26 Thread LIU Hao
在 2022-12-26 16:57, Alvin Wong via Mingw-w64-public 写道: Should I use `DECLSPEC_IMPORT HRESULT WINAPI` instead of `STDAPI` then? and provide the library def file from gendef. That `shcore.def` already exists in mingw-w64. The `STDAPI` macros match Windows SDK, so I suspect they probably fit

Re: [Mingw-w64-public] Problems when building NT kernel drivers with GCC / LD

2022-12-26 Thread Pali Rohár
Hello! I would like to remind this thread for gcc/binutils developers. Most of these issues are still present and cause problems for compiling native PE binary. If you have questions or you need any other information please let me know. On Sunday 30 October 2022 02:06:11 Pali Rohár wrote: > Hello!

Re: [Mingw-w64-public] [PATCH] headers: Add shcore.h

2022-12-26 Thread Alvin Wong via Mingw-w64-public
On 26/12/2022 8:45, JonY via Mingw-w64-public wrote: On 12/25/22 14:53, Alvin Wong via Mingw-w64-public wrote: Signed-off-by: Alvin Wong --- Added according to https://learn.microsoft.com/en-us/windows/win32/api/shcore/. These functions are used for WinRT interop with IStream.   mingw-w64-hea