]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64/vdso: Remove --hash-style=sysv
authorFangrui Song <maskray@google.com>
Thu, 18 Jul 2024 17:34:23 +0000 (10:34 -0700)
committerWill Deacon <will@kernel.org>
Tue, 23 Jul 2024 14:28:23 +0000 (15:28 +0100)
commit48f6430505c0b0498ee9020ce3cf9558b1caaaeb
tree185324414260aa8e500ad612a5c7b29cb15494ea
parent0c35e3bd412a6a2676adc35df950cfbb9f464b0c
arm64/vdso: Remove --hash-style=sysv

glibc added support for .gnu.hash in 2006 and .hash has been obsoleted
for more than one decade in many Linux distributions.  Using
--hash-style=sysv might imply unaddressed issues and confuse readers.

Just drop the option and rely on the linker default, which is likely
"both", or "gnu" when the distribution really wants to eliminate sysv
hash overhead.

Similar to commit 6b7e26547fad ("x86/vdso: Emit a GNU hash").

Signed-off-by: Fangrui Song <maskray@google.com>
Link: https://lore.kernel.org/r/20240718173423.1574395-1-maskray@google.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/vdso/Makefile
arch/arm64/kernel/vdso32/Makefile