COFF_TYPE on x86_64
bodrato at mail.dm.unipi.it
Mon Nov 2 00:02:56 UTC 2020
Il 2020-10-02 20:45 Jeremy Drake ha scritto:
> Looking at the ld code, it only generated the thunk in the import
> if it thought the symbol was a function. Checking the output of gcc -S
> showed that it added ".def func; .scl 2; .type 32; .endef" to
> and inserting that into the assembly functions caused ld to generate
> thunks, which solved the crash. When I started to investigate how to
> integrate generating that in the GMP build system, I came across
> code that did exactly that, but only on 32-bit x86 not x86_64. The
> I sent copied the necessary parts of that to the x86_64 path.
Can you test if the latest available snapshot is working in your
You can download it at:
Do you know if this might be needed also for mingw running on ARM cpus?
More information about the gmp-bugs