mirror of https://gitee.com/openkylin/linux.git
arm64: vdso: Explicitly add build-id option
Commit691efbedc6
("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:691efbedc6
("arm64: vdso: use $(LD) instead of $(CC) to link VDSO") Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Laura Abbott <labbott@redhat.com> [will: drop redundant use of 'call ld-option' as requested by Masahiro] Signed-off-by: Will Deacon <will.deacon@arm.com>
This commit is contained in:
parent
7ba36eccb3
commit
7a0a93c517
|
@ -12,8 +12,8 @@ obj-vdso := gettimeofday.o note.o sigreturn.o
|
|||
targets := $(obj-vdso) vdso.so vdso.so.dbg
|
||||
obj-vdso := $(addprefix $(obj)/, $(obj-vdso))
|
||||
|
||||
ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 \
|
||||
$(call ld-option, --hash-style=sysv) -n -T
|
||||
ldflags-y := -shared -nostdlib -soname=linux-vdso.so.1 --hash-style=sysv \
|
||||
--build-id -n -T
|
||||
|
||||
# Disable gcov profiling for VDSO code
|
||||
GCOV_PROFILE := n
|
||||
|
|
Loading…
Reference in New Issue