13 Star 20 Fork 180

src-openEuler/glibc
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0017-Sw64-Introduce-elf-initfini.h-and-ELF_INITFINI-for-s.patch 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
swcompiler 提交于 2024-12-17 04:02 +08:00 . Sw64: Add Sw64 ISA support
From b88a3af5562fe7e316b02f489821ee4dd3309490 Mon Sep 17 00:00:00 2001
From: swcompiler <lc@wxiat.com>
Date: Fri, 29 Nov 2024 17:19:07 +0800
Subject: [PATCH 17/23] Sw64: Introduce <elf-initfini.h> and ELF_INITFINI for
sw64
---
sysdeps/sw_64/elf-initfini.h | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 sysdeps/sw_64/elf-initfini.h
diff --git a/sysdeps/sw_64/elf-initfini.h b/sysdeps/sw_64/elf-initfini.h
new file mode 100644
index 00000000..54a8d7cc
--- /dev/null
+++ b/sysdeps/sw_64/elf-initfini.h
@@ -0,0 +1,20 @@
+/* Determine DT_INIT/DT_FINI support in the dynamic loader. Sw_64 version.
+ Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+/* Enable DT_INIT/DT_FINI support. */
+#define ELF_INITFINI 1
--
2.25.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/glibc.git
git@gitee.com:src-openeuler/glibc.git
src-openeuler
glibc
glibc
master

搜索帮助