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

2021-10-07 Thread Mark Harmstone
Signed-off-by: Mark Harmstone --- mingw-w64-headers/ddk/include/ddk/ata.h | 1732 +++ 1 file changed, 1732 insertions(+) create mode 100644 mingw-w64-headers/ddk/include/ddk/ata.h diff --git a/mingw-w64-headers/ddk/include/ddk/ata.h

Re: [Mingw-w64-public] [PATCH] crt: Check pseudo relocations for overflows and error out clearly

2021-10-07 Thread Martin Storsjö
On Thu, 7 Oct 2021, Jeremy Drake via Mingw-w64-public wrote: I thought pseudo-relocs were only needed when auto-importing an offset from an exported symbol (ie, a struct member or something like that), and that otherwse something in the normal Windows loader was leveraged. No, they're needed

[Mingw-w64-public] [PATCH] include/wdm.h: Update IO_STACK_LOCATION struct.

2021-10-07 Thread Mark Harmstone
Signed-off-by: Mark Harmstone --- mingw-w64-headers/ddk/include/ddk/wdm.h | 71 ++--- 1 file changed, 63 insertions(+), 8 deletions(-) diff --git a/mingw-w64-headers/ddk/include/ddk/wdm.h b/mingw-w64-headers/ddk/include/ddk/wdm.h index 2e4a628a0..64bcbc5c7 100644 ---

Re: [Mingw-w64-public] Latest Windows SDK headers and API support in the MinGW-W64 toolchain

2021-10-07 Thread Biswapriyo Nath
Hi Praveen, the mingw-w64-headers package[1] has been updated in msys2 with these new changes. [1]: https://packages.msys2.org/base/mingw-w64-headers-git ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net

Re: [Mingw-w64-public] Patches to fix #515 and 916.

2021-10-07 Thread Martin Storsjö
Hi, On Sun, 3 Oct 2021, David James wrote: Oops. Resending patches in .txt files. I’ve also reattached the test file, to which I added a small amount of additional testing. Thanks, David. Thanks for your patches - and it's great to have the corresponding testcases too! After sitting

[Mingw-w64-public] [PATCH] crt: Check pseudo relocations for overflows and error out clearly

2021-10-07 Thread Martin Storsjö
Normally, when correctly configured, the pseudo relocations should be in fields that are large enough to hold the full target offset/address. But if the relocations nevertheless end up truncated, error out clearly instead of running into a hard to diagnose crash at runtime. The pseudo relocations

[Mingw-w64-public] [PATCH 1/2] crt: Add APIs in computenetwork.def

2021-10-07 Thread Biswapriyo Nath
From f381f33abc67c51626ff564155bfa7d9aabc8f7a Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 7 Oct 2021 23:36:16 +0530 Subject: [PATCH 1/2] crt: Add APIs in computenetwork.def Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/lib-common/computenetwork.def | 6 ++ 1 file changed,

[Mingw-w64-public] [PATCH 2/2] headers: Add APIs in computenetwork.h

2021-10-07 Thread Biswapriyo Nath
From 57f1cca0c582f655a18fda5c177c56131f8c99bb Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 7 Oct 2021 23:36:52 +0530 Subject: [PATCH 2/2] headers: Add APIs in computenetwork.h Signed-off-by: Biswapriyo Nath --- mingw-w64-headers/include/computenetwork.h | 50

Re: [Mingw-w64-public] [PATCH] crt: Check pseudo relocations for overflows and error out clearly

2021-10-07 Thread Jeremy Drake via Mingw-w64-public
On Thu, 7 Oct 2021, Martin Storsjö wrote: > This can also happen if calling a function which is marked "DATA" in > the def files as it's not meant to be called/used normally (because we > provide a replacement in libmingwex or lib*crt* that we think should > be used instead). If the function that