summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorBill Wendling <morbo@google.com>2020-09-22 16:21:40 -0700
committerMasahiro Yamada <masahiroy@kernel.org>2020-10-09 23:57:30 +0900
commita968433723310f35898b4a2f635a7991aeef66b1 (patch)
tree27bc9ae9916d55f2ccb9bec2afbd5aa0f9ecb678 /arch/s390
parent548b8b5168c90c42e88f70fcf041b4ce0b8e7aa8 (diff)
kbuild: explicitly specify the build id style
ld's --build-id defaults to "sha1" style, while lld defaults to "fast". The build IDs are very different between the two, which may confuse programs that reference them. Signed-off-by: Bill Wendling <morbo@google.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/kernel/vdso64/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/vdso64/Makefile b/arch/s390/kernel/vdso64/Makefile
index d0d406cfffa9..9acad762456d 100644
--- a/arch/s390/kernel/vdso64/Makefile
+++ b/arch/s390/kernel/vdso64/Makefile
@@ -19,7 +19,7 @@ KBUILD_AFLAGS_64 += -m64 -s
KBUILD_CFLAGS_64 := $(filter-out -m64,$(KBUILD_CFLAGS))
KBUILD_CFLAGS_64 += -m64 -fPIC -shared -fno-common -fno-builtin
ldflags-y := -fPIC -shared -nostdlib -soname=linux-vdso64.so.1 \
- --hash-style=both --build-id -T
+ --hash-style=both --build-id=sha1 -T
$(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_64)
$(targets:%=$(obj)/%.dbg): KBUILD_AFLAGS = $(KBUILD_AFLAGS_64)