|
| 1 | +From 7a48e7c758761495f446ddd8eea8bc30208e69e9 Mon Sep 17 00:00:00 2001 |
| 2 | +From: Nick Desaulniers < [email protected]> |
| 3 | +Date: Mon, 10 Dec 2018 14:31:32 -0800 |
| 4 | +Subject: [PATCH] ARM: VDSO: Drop implicit common-page-size linker flag |
| 5 | + |
| 6 | +GNU linker's -z common-page-size's default value is based on the target |
| 7 | +architecture. arch/arm/vdso/Makefile sets it to the architecture |
| 8 | +default, which is implicit and redundant. Drop it. |
| 9 | + |
| 10 | +Link: https://lkml.kernel.org/r/ [email protected] |
| 11 | +Acked-by: Arnd Bergmann < [email protected]> |
| 12 | +Acked-by: Nathan Lynch < [email protected]> |
| 13 | +Suggested-by: Nathan Chancellor < [email protected]> |
| 14 | +Signed-off-by: Nick Desaulniers < [email protected]> |
| 15 | +(am from https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8860/1) |
| 16 | +Signed-off-by: Nathan Chancellor < [email protected]> |
| 17 | +--- |
| 18 | + arch/arm/vdso/Makefile | 3 +-- |
| 19 | + 1 file changed, 1 insertion(+), 2 deletions(-) |
| 20 | + |
| 21 | +diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile |
| 22 | +index fadf554d9391..db1754438267 100644 |
| 23 | +--- a/arch/arm/vdso/Makefile |
| 24 | ++++ b/arch/arm/vdso/Makefile |
| 25 | +@@ -11,8 +11,7 @@ ccflags-y := -fPIC -fno-common -fno-builtin -fno-stack-protector |
| 26 | + ccflags-y += -DDISABLE_BRANCH_PROFILING |
| 27 | + |
| 28 | + ldflags-y = -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \ |
| 29 | +- -z max-page-size=4096 -z common-page-size=4096 \ |
| 30 | +- -nostdlib -shared \ |
| 31 | ++ -z max-page-size=4096 -nostdlib -shared \ |
| 32 | + $(call ld-option, --hash-style=sysv) \ |
| 33 | + $(call ld-option, --build-id) \ |
| 34 | + -T |
| 35 | +-- |
| 36 | +2.22.0.rc3 |
| 37 | + |
0 commit comments