Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (C) 2020 Matt Helsley <mhelsley@vmware.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #ifndef _OBJTOOL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #define _OBJTOOL_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <stdbool.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <linux/list.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/hashtable.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include "elf.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #define __weak __attribute__((weak))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct objtool_file {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	struct elf *elf;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	struct list_head insn_list;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	DECLARE_HASHTABLE(insn_hash, 20);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	struct list_head static_call_list;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	struct list_head mcount_loc_list;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	bool ignore_unreachables, c_file, hints, rodata;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) struct objtool_file *objtool_open_read(const char *_objname);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int check(struct objtool_file *file);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) int orc_dump(const char *objname);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) int create_orc(struct objtool_file *file);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) int create_orc_sections(struct objtool_file *file);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) #endif /* _OBJTOOL_H */