summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/module.lds.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/module.lds.h')
-rw-r--r--arch/arm/include/asm/module.lds.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/module.lds.h b/arch/arm/include/asm/module.lds.h
new file mode 100644
index 000000000..0e7cb4e31
--- /dev/null
+++ b/arch/arm/include/asm/module.lds.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifdef CONFIG_ARM_MODULE_PLTS
+SECTIONS {
+ .plt : { BYTE(0) }
+ .init.plt : { BYTE(0) }
+}
+#endif