summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/module.lds.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/module.lds.h')
-rw-r--r--arch/arm64/include/asm/module.lds.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/module.lds.h b/arch/arm64/include/asm/module.lds.h
new file mode 100644
index 000000000000..691f15af788e
--- /dev/null
+++ b/arch/arm64/include/asm/module.lds.h
@@ -0,0 +1,7 @@
+#ifdef CONFIG_ARM64_MODULE_PLTS
+SECTIONS {
+ .plt (NOLOAD) : { BYTE(0) }
+ .init.plt (NOLOAD) : { BYTE(0) }
+ .text.ftrace_trampoline (NOLOAD) : { BYTE(0) }
+}
+#endif