Skip to content

Commit 7a0a93c

Browse files
labbottwildea01
authored andcommitted
arm64: vdso: Explicitly add build-id option
Commit 691efbe ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO") switched to using LD explicitly. The --build-id option needs to be passed explicitly, similar to x86. Add this option. Fixes: 691efbe ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO") Reviewed-by: Masahiro Yamada <[email protected]> Signed-off-by: Laura Abbott <[email protected]> [will: drop redundant use of 'call ld-option' as requested by Masahiro] Signed-off-by: Will Deacon <[email protected]>
1 parent 7ba36ec commit 7a0a93c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm64/kernel/vdso/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ obj-vdso := gettimeofday.o note.o sigreturn.o
1212
targets := $(obj-vdso) vdso.so vdso.so.dbg
1313
obj-vdso := $(addprefix $(obj)/, $(obj-vdso))
1414

15-
ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 \
16-
$(call ld-option, --hash-style=sysv) -n -T
15+
ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \
16+
--build-id -n -T
1717

1818
# Disable gcov profiling for VDSO code
1919
GCOV_PROFILE := n

0 commit comments

Comments
 (0)