lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [tip:x86/build] x86/um/vdso: Drop implicit common-page-size linker flag
On Tue, Dec 11, 2018 at 5:12 AM tip-bot for ndesaulniers@google.com
<tipbot@zytor.com> wrote:
>
> Commit-ID: f4313ba52f9caccfda6a55f991c84aba6726b88f
> Gitweb: https://git.kernel.org/tip/f4313ba52f9caccfda6a55f991c84aba6726b88f
> Author: ndesaulniers@google.com <ndesaulniers@google.com>
> AuthorDate: Mon, 10 Dec 2018 14:27:16 -0800
> Committer: Borislav Petkov <bp@suse.de>
> CommitDate: Tue, 11 Dec 2018 13:58:57 +0100
>
> x86/um/vdso: Drop implicit common-page-size linker flag
>
> GNU linker's -z common-page-size's default value is based on the target
> architecture. arch/x86/um/vdso/Makefile sets it to the architecture
> default, which is implicit and redundant. Drop it so that one more LLVM
> build issue gets addressed.
>
> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Acked-by: Richard Weinberger <richard@nod.at>

I missed Richard's ACK. Did it occur off list? I just want to
confirm there's nothing wrong with my email client. Thank you for
taking the patch either way.

> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Jeff Dike <jdike@addtoit.com>
> Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: linux-um@lists.infradead.org
> Cc: x86-ml <x86@kernel.org>
> Link: https://lkml.kernel.org/r/20181206191231.192355-1-ndesaulniers@google.com
> ---
> 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 822ccdba93ad..bf94060fc06f 100644
> --- a/arch/x86/um/vdso/Makefile
> +++ b/arch/x86/um/vdso/Makefile
> @@ -26,7 +26,7 @@ targets += vdso.so vdso.so.dbg vdso.lds $(vobjs-y)
> CPPFLAGS_vdso.lds += -P -C
>
> VDSO_LDFLAGS_vdso.lds = -m64 -Wl,-soname=linux-vdso.so.1 \
> - -Wl,-z,max-page-size=4096 -Wl,-z,common-page-size=4096
> + -Wl,-z,max-page-size=4096
>
> $(obj)/vdso.o: $(src)/vdso.S $(obj)/vdso.so
>


--
Thanks,
~Nick Desaulniers

\
 
 \ /
  Last update: 2018-12-11 18:40    [W:0.110 / U:3.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site