Projects
openEuler:24.03:SP1:Everything
gcc
_service:tar_scm:0041-LoongArch-Modify-MUSL_DYN...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0041-LoongArch-Modify-MUSL_DYNAMIC_LINKER.patch of Package gcc
From 4c24f920e52c0dddf4bbbc391d2e5d2524754b4a Mon Sep 17 00:00:00 2001 From: Lulu Cheng <chenglulu@loongson.cn> Date: Sat, 18 Nov 2023 11:04:42 +0800 Subject: [PATCH 041/188] LoongArch: Modify MUSL_DYNAMIC_LINKER. Use no suffix at all in the musl dynamic linker name for hard float ABI. Use -sf and -sp suffixes in musl dynamic linker name for soft float and single precision ABIs. The following table outlines the musl interpreter names for the LoongArch64 ABI names. musl interpreter | LoongArch64 ABI --------------------------- | ----------------- ld-musl-loongarch64.so.1 | loongarch64-lp64d ld-musl-loongarch64-sp.so.1 | loongarch64-lp64f ld-musl-loongarch64-sf.so.1 | loongarch64-lp64s gcc/ChangeLog: * config/loongarch/gnu-user.h (MUSL_ABI_SPEC): Modify suffix. --- gcc/config/loongarch/gnu-user.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/loongarch/gnu-user.h b/gcc/config/loongarch/gnu-user.h index 60ef75601..9fc49dc8f 100644 --- a/gcc/config/loongarch/gnu-user.h +++ b/gcc/config/loongarch/gnu-user.h @@ -34,9 +34,9 @@ along with GCC; see the file COPYING3. If not see "/lib" ABI_GRLEN_SPEC "/ld-linux-loongarch-" ABI_SPEC ".so.1" #define MUSL_ABI_SPEC \ - "%{mabi=lp64d:-lp64d}" \ - "%{mabi=lp64f:-lp64f}" \ - "%{mabi=lp64s:-lp64s}" + "%{mabi=lp64d:}" \ + "%{mabi=lp64f:-sp}" \ + "%{mabi=lp64s:-sf}" #undef MUSL_DYNAMIC_LINKER #define MUSL_DYNAMIC_LINKER \ -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2