diff options
| -rw-r--r-- | arch/arm/vdso/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile index fadf554d9391..1f5ec9741e6d 100644 --- a/arch/arm/vdso/Makefile +++ b/arch/arm/vdso/Makefile | |||
| @@ -10,9 +10,10 @@ obj-vdso := $(addprefix $(obj)/, $(obj-vdso)) | |||
| 10 | ccflags-y := -fPIC -fno-common -fno-builtin -fno-stack-protector | 10 | ccflags-y := -fPIC -fno-common -fno-builtin -fno-stack-protector |
| 11 | ccflags-y += -DDISABLE_BRANCH_PROFILING | 11 | ccflags-y += -DDISABLE_BRANCH_PROFILING |
| 12 | 12 | ||
| 13 | ldflags-y = -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \ | 13 | ldflags-$(CONFIG_CPU_ENDIAN_BE8) := --be8 |
| 14 | ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \ | ||
| 14 | -z max-page-size=4096 -z common-page-size=4096 \ | 15 | -z max-page-size=4096 -z common-page-size=4096 \ |
| 15 | -nostdlib -shared \ | 16 | -nostdlib -shared $(ldflags-y) \ |
| 16 | $(call ld-option, --hash-style=sysv) \ | 17 | $(call ld-option, --hash-style=sysv) \ |
| 17 | $(call ld-option, --build-id) \ | 18 | $(call ld-option, --build-id) \ |
| 18 | -T | 19 | -T |
