summaryrefslogtreecommitdiff
path: root/tools/objtool/arch/loongarch/special.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/objtool/arch/loongarch/special.c')
-rw-r--r--tools/objtool/arch/loongarch/special.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/objtool/arch/loongarch/special.c b/tools/objtool/arch/loongarch/special.c
new file mode 100644
index 000000000000..9bba1e9318e0
--- /dev/null
+++ b/tools/objtool/arch/loongarch/special.c
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+#include <objtool/special.h>
+
+bool arch_support_alt_relocation(struct special_alt *special_alt,
+ struct instruction *insn,
+ struct reloc *reloc)
+{
+ return false;
+}
+
+struct reloc *arch_find_switch_table(struct objtool_file *file,
+ struct instruction *insn)
+{
+ return NULL;
+}