https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5d65b2287d7e99bbfc7f204f0943738a3cca1e7e
commit 5d65b2287d7e99bbfc7f204f0943738a3cca1e7e Author: Radek Bartoň <[email protected]> AuthorDate: Wed Jun 11 23:07:21 2025 +0200 Commit: Corinna Vinschen <[email protected]> CommitDate: Mon Jul 14 13:48:15 2025 +0200 Cygwin: dumper: port to AArch64 This patch allows to build winsup/utils/dumper.cc for AArch64 by handling target architecture condition in dumper::init_core_dump. Signed-off-by: Radek Bartoň <[email protected]> Diff: --- winsup/utils/dumper.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/winsup/utils/dumper.cc b/winsup/utils/dumper.cc index 994f9b683c72..b3151e66d403 100644 --- a/winsup/utils/dumper.cc +++ b/winsup/utils/dumper.cc @@ -700,8 +700,10 @@ dumper::init_core_dump () { bfd_init (); -#ifdef __x86_64__ +#if defined(__x86_64__) const char *target = "elf64-x86-64"; +#elif defined(__aarch64__) + const char *target = "elf64-aarch64"; #else #error unimplemented for this target #endif
