]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: vDSO: Remove --hash-style=both
authorXi Ruoyao <xry111@xry111.site>
Mon, 24 Feb 2025 11:20:40 +0000 (19:20 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 8 May 2025 17:46:45 +0000 (10:46 -0700)
commit2940954c1ac527386e5203d4be8263d704491fbe
tree0c1554da7ceead321ff94dbdc41ba8c61873999d
parent259aaf03d7a03fe3c2f909deaeea7ce84ed47880
riscv: vDSO: Remove --hash-style=both

When RISC-V borned, DT_GNU_HASH had already became the de-facto
standard so DT_HASH is just wasting storage space.  Remove the explicit
--hash-style=both setting and rely on the distro toolchain default,
which is most likely "gnu" (i.e. generating only DT_GNU_HASH, no
DT_HASH).

Following the logic of commit 48f6430505c0
("arm64/vdso: Remove --hash-style=sysv").

Signed-off-by: Xi Ruoyao <xry111@xry111.site>
Link: https://lore.kernel.org/r/20250224112042.60282-2-xry111@xry111.site
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/vdso/Makefile