xref: /linux/arch/loongarch/kernel/elf.c (revision 260f6f4fda93c8485c8037865c941b42b9cba5d2)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Author: Huacai Chen <chenhuacai@loongson.cn>
4  * Copyright (C) 2020-2022 Loongson Technology Corporation Limited
5  */
6 
7 #include <linux/binfmts.h>
8 #include <linux/elf.h>
9 #include <linux/sched.h>
10 
11 #include <asm/cpu-features.h>
12 #include <asm/cpu-info.h>
13 
14 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf,
15 		     bool is_interp, struct arch_elf_state *state)
16 {
17 	return 0;
18 }
19 
20 int arch_check_elf(void *_ehdr, bool has_interpreter, void *_interp_ehdr,
21 		   struct arch_elf_state *state)
22 {
23 	return 0;
24 }
25