Wrapped stdint.h for AArch64 MinGW32 is useful for bare-matal PE target e.g. UEFI, as those platform does not provide a system stdint.h, this would align with x86_64 mingw32 target which provides a wrapped stdint.h
I have tested this by compiling a AArch64 UEFI Application using gcc's stdint.h, with -ffreestanding flag, and execute the application with AAVMF(edk2) inside QEMU. --- gcc/config.gcc | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/config.gcc b/gcc/config.gcc index 0d8dbc4fb19..0b1709ba30e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1296,6 +1296,7 @@ aarch64-*-mingw*) ;; esac default_use_cxa_atexit=yes + use_gcc_stdint=wrap user_headers_inc_next_post="${user_headers_inc_next_post} float.h" tm_defines="${tm_defines} TARGET_AARCH64_MS_ABI=1" ;; -- 2.50.1