From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Sasha Levin Subject: [PATCH AUTOSEL for 3.18 059/101] x86/um: thin archives build fix Date: Mon, 9 Apr 2018 00:41:22 +0000 Message-ID: <20180409004042.164920-9-alexander.levin@microsoft.com> References: <20180409004042.164920-1-alexander.levin@microsoft.com> In-Reply-To: <20180409004042.164920-1-alexander.levin@microsoft.com> Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: Nicholas Piggin , Jeff Dike , Richard Weinberger , "user-mode-linux-devel@lists.sourceforge.net" , Masahiro Yamada , Sasha Levin List-ID: From: Nicholas Piggin [ Upstream commit 827880ec260ba048f95fe646b96a205c394fa0f0 ] The linker does not like vdso-syms.lds in input archive files. Make it an extra-y instead. Cc: Jeff Dike Cc: Richard Weinberger Cc: user-mode-linux-devel@lists.sourceforge.net Signed-off-by: Nicholas Piggin Signed-off-by: Masahiro Yamada Signed-off-by: Sasha Levin --- arch/x86/um/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/um/vdso/Makefile b/arch/x86/um/vdso/Makefile index 6c803ca49b5d..486f62c3bd04 100644 --- a/arch/x86/um/vdso/Makefile +++ b/arch/x86/um/vdso/Makefile @@ -50,7 +50,7 @@ CFLAGS_REMOVE_vdso-note.o =3D -pg -fprofile-arcs -ftest-c= overage CFLAGS_REMOVE_um_vdso.o =3D -pg -fprofile-arcs -ftest-coverage =20 targets +=3D vdso-syms.lds -obj-$(VDSO64-y) +=3D vdso-syms.lds +extra-$(VDSO64-y) +=3D vdso-syms.lds =20 # # Match symbols in the DSO that look like VDSO*; produce a file of constan= ts. --=20 2.15.1