Hello

This patch adds `aarch64/fastcwd.cc` implementations to AArch64 build fixing 
undefined reference to `find_fast_cwd_pointer_aarch64`.

Radek

---
>From ff438392ffbd0c91a918b383a3e9947f1eb18212 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radek=20Barto=C5=88?= <[email protected]>
Date: Mon, 9 Jun 2025 13:07:01 +0200
Subject: [PATCH] Cygwin: add fastcwd to AArch64 build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Radek BartoĊˆ <[email protected]>
---
 winsup/cygwin/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am
index 31747ac98..90a7332a8 100644
--- a/winsup/cygwin/Makefile.am
+++ b/winsup/cygwin/Makefile.am
@@ -64,6 +64,11 @@ TARGET_FILES= \
        x86_64/wmempcpy.S
 endif
 
+if TARGET_AARCH64
+TARGET_FILES= \
+       aarch64/fastcwd.cc
+endif
+
 # These objects are included directly into the import library
 LIB_FILES= \
        lib/_cygwin_crt0_common.cc \
-- 
2.49.0.vfs.0.4

Attachment: 0001-Cygwin-add-fastcwd-to-AArch64-build.patch
Description: 0001-Cygwin-add-fastcwd-to-AArch64-build.patch

Reply via email to