[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190515194824.5641-1-labbott@redhat.com>
Date: Wed, 15 May 2019 12:48:24 -0700
From: Laura Abbott <labbott@...hat.com>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
Will Deacon <will.deacon@....com>
Cc: Laura Abbott <labbott@...hat.com>, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH] arm64: vdso: Explicitly add build-id option
Commit 691efbedc60d ("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: 691efbedc60d ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO")
Signed-off-by: Laura Abbott <labbott@...hat.com>
---
arch/arm64/kernel/vdso/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/kernel/vdso/Makefile b/arch/arm64/kernel/vdso/Makefile
index 744b9dbaba03..ca209103cd06 100644
--- a/arch/arm64/kernel/vdso/Makefile
+++ b/arch/arm64/kernel/vdso/Makefile
@@ -13,6 +13,7 @@ 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, --build-id) \
$(call ld-option, --hash-style=sysv) -n -T
# Disable gcov profiling for VDSO code
--
2.21.0
Powered by blists - more mailing lists