All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: fix linker call for ARM_MODULE_PLTS
@ 2016-09-02  9:17 ` Wiebe, Wladislav (Nokia - DE/Ulm)
  0 siblings, 0 replies; 6+ messages in thread
From: Wiebe, Wladislav (Nokia - DE/Ulm) @ 2016-09-02  9:17 UTC (permalink / raw)
  To: linux, linux-arm-kernel; +Cc: linux-kernel

module.lds script doesn't get called when
CONFIG_ARM_MODULE_PLTS is enabled.
Use KBUILD_LDFLAGS_MODULE to fix it.

Signed-off-by: Wladislav Wiebe <wladislav.wiebe@nokia.com>
---
 arch/arm/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 61f6ccc..01c6025 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -20,7 +20,7 @@ LDFLAGS_MODULE	+= --be8
 endif
 
 ifeq ($(CONFIG_ARM_MODULE_PLTS),y)
-LDFLAGS_MODULE	+= -T $(srctree)/arch/arm/kernel/module.lds
+KBUILD_LDFLAGS_MODULE	+= -T $(srctree)/arch/arm/kernel/module.lds
 endif
 
 OBJCOPYFLAGS	:=-O binary -R .comment -S
-- 
1.7.12.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-09-02 21:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02  9:17 [PATCH] ARM: fix linker call for ARM_MODULE_PLTS Wiebe, Wladislav (Nokia - DE/Ulm)
2016-09-02  9:17 ` Wiebe, Wladislav (Nokia - DE/Ulm)
2016-09-02  9:24 ` Russell King - ARM Linux
2016-09-02  9:24   ` Russell King - ARM Linux
2016-09-02 12:02   ` Wiebe, Wladislav (Nokia - DE/Ulm)
2016-09-02 12:02     ` Wiebe, Wladislav (Nokia - DE/Ulm)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.