summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/module.lds
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kernel/module.lds')
-rw-r--r--arch/riscv/kernel/module.lds8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/kernel/module.lds b/arch/riscv/kernel/module.lds
new file mode 100644
index 000000000000..295ecfb341a2
--- /dev/null
+++ b/arch/riscv/kernel/module.lds
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2017 Andes Technology Corporation */
+
+SECTIONS {
+ .plt (NOLOAD) : { BYTE(0) }
+ .got (NOLOAD) : { BYTE(0) }
+ .got.plt (NOLOAD) : { BYTE(0) }
+}