]> git.ipfire.org Git - thirdparty/gcc.git/commit
Adjust DLL import/export implementation for AArch64
authorEvgeny Karpov <Evgeny.Karpov@microsoft.com>
Mon, 24 Jun 2024 12:46:54 +0000 (12:46 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Tue, 25 Jun 2024 06:38:39 +0000 (06:38 +0000)
commited20feebd9ea31d58861f61205bd412b0c3febd0
tree23a654fd5c2a5bc0cb89461c7884a34fa68d8e8b
parent337632ef02a77d20ceb3dcb04751b4d4c844e23e
Adjust DLL import/export implementation for AArch64

The DLL import/export mingw implementation, originally from ix86,
requires minor adjustments to be compatible with AArch64.

2024-06-08  Evgeny Karpov <Evgeny.Karpov@microsoft.com>

gcc/ChangeLog:
* config/i386/cygming.h
(PE_COFF_EXTERN_DECL_SHOULD_BE_LEGITIMIZED): Declare whether an
external declaration should be legitimized.
(HAVE_64BIT_POINTERS): Define whether the target supports 64-bit
pointers.
* config/mingw/mingw32.h (defined): Use the correct
DllMainCRTStartup entry function.
* config/mingw/winnt-dll.cc (defined): Exclude ix86-related code.
gcc/config/i386/cygming.h
gcc/config/mingw/mingw32.h
gcc/config/mingw/winnt-dll.cc