diff options
author | Bill Wendling <morbo@google.com> | 2020-09-23 01:21:40 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-10-09 16:57:30 +0200 |
commit | a968433723310f35898b4a2f635a7991aeef66b1 (patch) | |
tree | 27bc9ae9916d55f2ccb9bec2afbd5aa0f9ecb678 /arch/arm/vdso | |
parent | scripts/setlocalversion: make git describe output more reliable (diff) | |
download | linux-a968433723310f35898b4a2f635a7991aeef66b1.tar.xz linux-a968433723310f35898b4a2f635a7991aeef66b1.zip |
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/arm/vdso')
-rw-r--r-- | arch/arm/vdso/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile index a54f70731d9f..150ce6e6a5d3 100644 --- a/arch/arm/vdso/Makefile +++ b/arch/arm/vdso/Makefile @@ -19,7 +19,7 @@ ccflags-y += -DDISABLE_BRANCH_PROFILING -DBUILD_VDSO32 ldflags-$(CONFIG_CPU_ENDIAN_BE8) := --be8 ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \ -z max-page-size=4096 -nostdlib -shared $(ldflags-y) \ - --hash-style=sysv --build-id \ + --hash-style=sysv --build-id=sha1 \ -T obj-$(CONFIG_VDSO) += vdso.o |