arm64: Makefile: Remove "-z norelro" from vmlinux ldflags

* This spams warnings
* aarch64-linux-gnu-ld: warning: -z norelro ignored

Signed-off-by: sohamxda7 <sensoham135@gmail.com>
Change-Id: Icec4c3b69c7fa275aab55d0a0182afd214c402bf
Signed-off-by: starlight5234 <starlight5234@protonmail.ch>
This commit is contained in:
LibXZR 2020-11-10 22:14:20 +08:00 committed by Gagan Malvi
parent 8748de67d3
commit 98f2aee7a5
No known key found for this signature in database
GPG key ID: B932A7CE71E9198F

View file

@ -18,7 +18,7 @@ ifeq ($(CONFIG_RELOCATABLE), y)
# Pass --no-apply-dynamic-relocs to restore pre-binutils-2.27 behaviour
# for relative relocs, since this leads to better Image compression
# with the relocation offsets always being zero.
LDFLAGS_vmlinux += -shared -Bsymbolic -z notext -z norelro \
LDFLAGS_vmlinux += -shared -Bsymbolic -z notext \
$(call ld-option, --no-apply-dynamic-relocs)
endif