diff options
author | Xi Ruoyao <xry111@xry111.site> | 2025-03-30 11:31:09 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-03-30 11:31:09 +0300 |
commit | c271c86a4c72c771b313fd9c3b06db61ab8ab8bf (patch) | |
tree | a718e933478af2828a8e5b92c790fd4e1eef59e6 /tools/perf/scripts/python/libxed.py | |
parent | 60f3caff1492e5b8616b9578c4bedb5c0a88ed14 (diff) | |
download | linux-c271c86a4c72c771b313fd9c3b06db61ab8ab8bf.tar.xz |
LoongArch: vDSO: Remove --hash-style=sysv
Glibc added support for .gnu.hash in 2006 and .hash has been obsoleted
far before the first LoongArch CPU was taped. Using --hash-style=sysv
might imply unaddressed issues and confuse readers.
Some architectures use an explicit --hash-style=both for vDSO here, but
DT_GNU_HASH has already been supported by Glibc and Musl and become the
de-facto standard of the distros when the first LoongArch CPU was taped.
So DT_HASH seems just wasting storage space for LoongArch.
Just drop the option and rely on the linker default, which is likely
"gnu" (Arch, Debian, Gentoo, LFS) on all LoongArch distros (confirmed on
Arch, Debian, Gentoo, and LFS; AOSC now defaults to "both" but it seems
just an oversight).
Following the logic of commit 48f6430505c0b049 ("arm64/vdso: Remove
--hash-style=sysv").
Link: https://github.com/AOSC-Dev/aosc-os-abbs/pull/9796
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions