Thread (20 messages) flat view 20 messages, 6 authors, 2019-01-07
STALE2817d

[PATCH 2/2] ARM: Wrap '--pic-veneer' with ld-option

From: Nathan Chancellor <hidden>
Date: 2018-12-05 01:42:40
Also in: lkml
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

This flag is not supported by lld:

    ld.lld: error: unknown argument: --pic-veneer

Signed-off-by: Nathan Chancellor <redacted>
---
 arch/arm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index e2a0baf36766..4fab2aa29570 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -10,7 +10,7 @@
 #
 # Copyright (C) 1995-2001 by Russell King
 
-LDFLAGS_vmlinux	:= --no-undefined -X --pic-veneer
+LDFLAGS_vmlinux	:= --no-undefined -X $(call ld-option,--pic-veneer)
 ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
 LDFLAGS_vmlinux	+= --be8
 KBUILD_LDFLAGS_MODULE	+= --be8
-- 
2.20.0.rc1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help