* [PATCH] sparc: vdso: Drop implicit common-page-size linker flag
@ 2018-12-10 22:35 ndesaulniers
2018-12-21 19:25 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: ndesaulniers @ 2018-12-10 22:35 UTC (permalink / raw)
To: davem
Cc: Nick Desaulniers, Masahiro Yamada, Frank Rowand, Ingo Molnar,
sparclinux, linux-kernel
GNU linker's -z common-page-size's default value is based on the target
architecture. arch/sparc/vdso/Makefile sets it to the architecture
default, which is implicit and redundant. Drop it.
Link: https://lkml.kernel.org/r/20181206191231.192355-1-ndesaulniers@google.com
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
---
arch/sparc/vdso/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sparc/vdso/Makefile b/arch/sparc/vdso/Makefile
index a6e18ca4cc18..74e97f77e23b 100644
--- a/arch/sparc/vdso/Makefile
+++ b/arch/sparc/vdso/Makefile
@@ -34,7 +34,7 @@ targets += $(vdso_img_sodbg) $(vdso_img-y:%=vdso%.so)
CPPFLAGS_vdso.lds += -P -C
VDSO_LDFLAGS_vdso.lds = -m elf64_sparc -soname linux-vdso.so.1 --no-undefined \
- -z max-page-size=8192 -z common-page-size=8192
+ -z max-page-size=8192
$(obj)/vdso64.so.dbg: $(obj)/vdso.lds $(vobjs) FORCE
$(call if_changed,vdso)
--
2.20.0.rc2.403.gdbc3b29805-goog
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sparc: vdso: Drop implicit common-page-size linker flag
2018-12-10 22:35 [PATCH] sparc: vdso: Drop implicit common-page-size linker flag ndesaulniers
@ 2018-12-21 19:25 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2018-12-21 19:25 UTC (permalink / raw)
To: ndesaulniers
Cc: yamada.masahiro, frowand.list, mingo, sparclinux, linux-kernel
From: ndesaulniers@google.com
Date: Mon, 10 Dec 2018 14:35:13 -0800
> GNU linker's -z common-page-size's default value is based on the target
> architecture. arch/sparc/vdso/Makefile sets it to the architecture
> default, which is implicit and redundant. Drop it.
>
> Link: https://lkml.kernel.org/r/20181206191231.192355-1-ndesaulniers@google.com
> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-21 19:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10 22:35 [PATCH] sparc: vdso: Drop implicit common-page-size linker flag ndesaulniers
2018-12-21 19:25 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).