Re: [Mingw-w64-public] [PATCH 2/2] crt: Share iphlpapi.def between lib64 and libarm32

2017-12-04 Thread Martin Storsjö
On Sun, 3 Dec 2017, JonY via Mingw-w64-public wrote: On 12/03/2017 07:53 PM, Martin Storsjö wrote: Also provide this import library for libarm64. Signed-off-by: Martin Storsjö --- mingw-w64-crt/lib-common/iphlpapi.def | 325 ++

Re: [Mingw-w64-public] [PATCH] headers: Map stat/wstat properly for ucrtbase

2017-12-04 Thread Martin Storsjö
On Sun, 3 Dec 2017, JonY via Mingw-w64-public wrote: On 12/03/2017 09:13 PM, Martin Storsjö wrote: Signed-off-by: Martin Storsjö --- mingw-w64-headers/crt/sys/stat.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git

[Mingw-w64-public] [PATCH] crt: Fix TLS with LLVM/LLD

2017-12-04 Thread Martin Storsjö
Place the start pointer in ".tls" instead of ".tls$AAA"; LLVM places tls data in sections named ".tls$" so make sure the start pointer gets sorted before this. (Alternatively I would need to change LLVM to sort them into e.g. .tls$BBB if targeting MinGW instead of MSVC.) Don't place the _tls_used

Re: [Mingw-w64-public] [PATCH] crt: Fix TLS with LLVM/LLD

2017-12-04 Thread Martin Storsjö
On Mon, 4 Dec 2017, Martin Storsjö wrote: Place the start pointer in ".tls" instead of ".tls$AAA"; LLVM places tls data in sections named ".tls$" so make sure the start pointer gets sorted before this. (Alternatively I would need to change LLVM to sort them into e.g. .tls$BBB if targeting MinGW

Re: [Mingw-w64-public] [PATCH] crt: Fix TLS with LLVM/LLD

2017-12-04 Thread Martin Storsjö
On Mon, 4 Dec 2017, Martin Storsjö wrote: On Mon, 4 Dec 2017, Martin Storsjö wrote: Place the start pointer in ".tls" instead of ".tls$AAA"; LLVM places tls data in sections named ".tls$" so make sure the start pointer gets sorted before this. (Alternatively I would need to change LLVM to