Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/loongarch/kernel/elf.c
26442 views
1
// SPDX-License-Identifier: GPL-2.0
2
/*
3
* Author: Huacai Chen <[email protected]>
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
26