Re: [Mingw-w64-public] Bad DWARF info?

2018-04-12 Thread Tom Ritter
Okay, I've been digging into this and have more information. I have a few things I'm going to try, but any insight into what might be happening or why or other things to try would be greatly appreciated. The DWARF data is definitely bad. Specifically the offset into the .debug_abbrev section is

[Mingw-w64-public] [PATCH] setjmp: Provide a manual implementation for arm and arm64

2018-04-12 Thread Martin Storsjö
On arm and arm64, the setjmp/longjmp implementations (in both msvcrt.dll and ucrtbase.dll) require binaries to have proper SEH information. On arm, we can get around this by passing NULL as the frame/ctx parameter to _setjmp, but that doesn't work on arm64. Work around it by providing a custom imp

Re: [Mingw-w64-public] [PATCH] setjmp: Provide a manual implementation for arm and arm64 (fwd)

2018-04-12 Thread Martin Storsjö
On Thu, 12 Apr 2018, André Hentschel wrote: Am 11.04.2018 um 22:38 schrieb Martin Storsjö: Hi André, Can you review this patch I sent to mingw-w64 yesterday? (I don't think many others are going to give it much comments.) The arm32 implementation is based on your code from wine (I hope that'

Re: [Mingw-w64-public] [PATCH] setjmp: Provide a manual implementation for arm and arm64 (fwd)

2018-04-12 Thread André Hentschel
Am 11.04.2018 um 22:38 schrieb Martin Storsjö: > Hi André, > > Can you review this patch I sent to mingw-w64 yesterday? (I don't think many > others are going to give it much comments.) > > The arm32 implementation is based on your code from wine (I hope that's ok > with you license-wise), whil

Re: [Mingw-w64-public] [PATCH] headers: Define IMAGE_FILE_MACHINE_ARM64

2018-04-12 Thread Martin Storsjö
On Wed, 11 Apr 2018, JonY via Mingw-w64-public wrote: On 04/11/2018 09:30 PM, Martin Storsjö wrote: Signed-off-by: Martin Storsjö --- mingw-w64-headers/include/winnt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mingw-w64-headers/include/winnt.h b/mingw-w64-headers/include/winnt.h in