sparc: vdso: Drop implicit common-page-size linker flag
diff mbox series

Message ID 20181210223515.26332-1-ndesaulniers@google.com
State In Next
Commit 0ff70f62c6a7eb5521ab340624de4c19f0c0881c
Headers show
Series
  • sparc: vdso: Drop implicit common-page-size linker flag
Related show

Commit Message

Nick Desaulniers Dec. 10, 2018, 10:35 p.m. UTC
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(-)

Comments

David Miller Dec. 21, 2018, 7:25 p.m. UTC | #1
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.

Patch
diff mbox series

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)