summaryrefslogtreecommitdiffstats
path: root/arch/loongarch/include/asm/module.lds.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/loongarch/include/asm/module.lds.h')
-rw-r--r--arch/loongarch/include/asm/module.lds.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/loongarch/include/asm/module.lds.h b/arch/loongarch/include/asm/module.lds.h
new file mode 100644
index 0000000000..88554f92e0
--- /dev/null
+++ b/arch/loongarch/include/asm/module.lds.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2020-2022 Loongson Technology Corporation Limited */
+SECTIONS {
+ . = ALIGN(4);
+ .got 0 : { BYTE(0) }
+ .plt 0 : { BYTE(0) }
+ .plt.idx 0 : { BYTE(0) }
+ .ftrace_trampoline 0 : { BYTE(0) }
+}