Skip to content

Commit e553fdc

Browse files
nathanchancepalmer-dabbelt
authored andcommitted
riscv: Explicitly specify the build id style in vDSO Makefile again
Commit a968433 ("kbuild: explicitly specify the build id style") explicitly set the build ID style to SHA1. Commit c2c81bb ("RISC-V: Fix the VDSO symbol generaton for binutils-2.35+") undid this change, likely unintentionally. Restore it so that the build ID style stays consistent across the tree regardless of linker. Fixes: c2c81bb ("RISC-V: Fix the VDSO symbol generaton for binutils-2.35+") Signed-off-by: Nathan Chancellor <[email protected]> Reviewed-by: Nick Desaulniers <[email protected]> Reviewed-by: Bill Wendling <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 418baf2 commit e553fdc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/riscv/kernel/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ SYSCFLAGS_vdso.so.dbg = $(c_flags)
4444
$(obj)/vdso.so.dbg: $(src)/vdso.lds $(obj-vdso) FORCE
4545
$(call if_changed,vdsold)
4646
SYSCFLAGS_vdso.so.dbg = -shared -s -Wl,-soname=linux-vdso.so.1 \
47-
-Wl,--build-id -Wl,--hash-style=both
47+
-Wl,--build-id=sha1 -Wl,--hash-style=both
4848

4949
# We also create a special relocatable object that should mirror the symbol
5050
# table and layout of the linked DSO. With ld --just-symbols we can then

0 commit comments

Comments
 (0)