[PATCH v2] newlib: libc: define _ctype for AArch64 Cygwin
Radek Barton
radek.barton@microsoft.com
Wed Jun 18 11:51:41 GMT 2025
Hello.
If that's the case, sure, why not.
Radek
---
>From 53142128c2aad7b6b03d2592e4c0321feb69dc77 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Radek=20Barto=C5=88?= <radek.barton@microsoft.com>
Date: Fri, 6 Jun 2025 16:17:27 +0200
Subject: [PATCH v2] newlib: libc: define _ctype for AArch64 Cygwin
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Radek Bartoň <radek.barton@microsoft.com>
---
newlib/libc/ctype/ctype_.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/newlib/libc/ctype/ctype_.c b/newlib/libc/ctype/ctype_.c
index 32ce4f318..869945fd5 100644
--- a/newlib/libc/ctype/ctype_.c
+++ b/newlib/libc/ctype/ctype_.c
@@ -95,21 +95,12 @@ char _ctype_b[128 + 256] = {
/* For backward compatibility */
char __EXPORT *__ctype_ptr__ = DEFAULT_CTYPE_PTR;
-# ifdef __x86_64__
__asm__ (" \n\
.data \n\
.globl _ctype_ \n\
.set _ctype_,_ctype_b+127 \n\
.text \n\
");
-# else
-__asm__ (" \n\
- .data \n\
- .globl __ctype_ \n\
- .set __ctype_,__ctype_b+127 \n\
- .text \n\
-");
-# endif
# else /* !__CYGWIN__ */
const char _ctype_[1 + 256] = {
--
2.49.0.vfs.0.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-newlib-libc-define-_ctype-for-AArch64-Cygwin.patch
Type: application/octet-stream
Size: 1214 bytes
Desc: v2-0001-newlib-libc-define-_ctype-for-AArch64-Cygwin.patch
URL: <https://sourceware.org/pipermail/newlib/attachments/20250618/9e78e0da/attachment.obj>
More information about the Newlib
mailing list