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:
parent
8748de67d3
commit
98f2aee7a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue