1 Star 0 Fork 147

Feifei Wang/glibc_openeuler

forked from src-openEuler/glibc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0015-sparc-Remove-64-bit-check-on-sparc32-wordsize-BZ-275.patch 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
liqingqing_1229 提交于 2024-05-10 14:33 . sync from glibc 2.38 upstream
From 61484011e76d2bfafbe401f7058717c2029dd155 Mon Sep 17 00:00:00 2001
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed, 17 Jan 2024 10:13:06 -0300
Subject: [PATCH 15/26] sparc: Remove 64 bit check on sparc32 wordsize (BZ
27574)
The sparc32 is always 32 bits.
Checked on sparcv9-linux-gnu.
(cherry picked from commit dd57f5e7b652772499cb220d78157c1038d24f06)
---
sysdeps/sparc/sparc32/bits/wordsize.h | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/sysdeps/sparc/sparc32/bits/wordsize.h b/sysdeps/sparc/sparc32/bits/wordsize.h
index 2f66f10d72..4bbd2e63b4 100644
--- a/sysdeps/sparc/sparc32/bits/wordsize.h
+++ b/sysdeps/sparc/sparc32/bits/wordsize.h
@@ -1,11 +1,6 @@
/* Determine the wordsize from the preprocessor defines. */
-#if defined __arch64__ || defined __sparcv9
-# define __WORDSIZE 64
-# define __WORDSIZE_TIME64_COMPAT32 1
-#else
-# define __WORDSIZE 32
-# define __WORDSIZE_TIME64_COMPAT32 0
-# define __WORDSIZE32_SIZE_ULONG 0
-# define __WORDSIZE32_PTRDIFF_LONG 0
-#endif
+#define __WORDSIZE 32
+#define __WORDSIZE_TIME64_COMPAT32 0
+#define __WORDSIZE32_SIZE_ULONG 0
+#define __WORDSIZE32_PTRDIFF_LONG 0
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/feifei-wang1994/glibc_openeuler.git
git@gitee.com:feifei-wang1994/glibc_openeuler.git
feifei-wang1994
glibc_openeuler
glibc_openeuler
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385