summaryrefslogtreecommitdiffstats
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 000000000..0522337d6
--- /dev/null
+++ b/arch/arm64/include/asm/module.lds.h
@@ -0,0 +1,7 @@
+#ifdef CONFIG_ARM64_MODULE_PLTS
+SECTIONS {
+ .plt 0 : { BYTE(0) }
+ .init.plt 0 : { BYTE(0) }
+ .text.ftrace_trampoline 0 : { BYTE(0) }
+}
+#endif