Home
last modified time | relevance | path

Searched refs:Elf_Shdr (Results 1 – 5 of 5) sorted by relevance

/scripts/
Drecordmcount.h41 #undef Elf_Shdr
80 # define Elf_Shdr Elf64_Shdr macro
118 # define Elf_Shdr Elf32_Shdr macro
211 static unsigned int get_shnum(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shnum()
219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum()
228 static int get_shstrndx(Elf_Ehdr const *ehdr, Elf_Shdr const *shdr0) in get_shstrndx()
236 static void find_symtab(Elf_Ehdr *const ehdr, Elf_Shdr const *shdr0, in find_symtab()
240 Elf_Shdr const *relhdr; in find_symtab()
259 Elf_Shdr *const shstr, in append_func()
268 Elf_Shdr mcsec; in append_func()
[all …]
Dsortextable.h18 #undef Elf_Shdr
40 # define Elf_Shdr Elf64_Shdr macro
61 # define Elf_Shdr Elf32_Shdr macro
93 Elf_Shdr *shdr; in do_func()
94 Elf_Shdr *shstrtab_sec; in do_func()
95 Elf_Shdr *strtab_sec = NULL; in do_func()
96 Elf_Shdr *symtab_sec = NULL; in do_func()
97 Elf_Shdr *extab_sec = NULL; in do_func()
102 Elf_Shdr *sort_needed_sec; in do_func()
115 shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); in do_func()
Dinsert-sys-cert.c40 #define Elf_Shdr Elf32_Shdr macro
45 #define Elf_Shdr Elf64_Shdr macro
70 Elf_Shdr *x; in get_offset_from_address()
133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol()
138 Elf_Shdr *x; in find_elf_symbol()
157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, in get_symbol_from_table()
160 Elf_Shdr *sec; in get_symbol_from_table()
163 Elf_Shdr *x; in get_symbol_from_table()
184 static Elf_Shdr *get_symbol_table(Elf_Ehdr *hdr) in get_symbol_table()
186 Elf_Shdr *x; in get_symbol_table()
[all …]
/scripts/mod/
Dmodpost.h24 #define Elf_Shdr Elf32_Shdr macro
39 #define Elf_Shdr Elf64_Shdr macro
138 Elf_Shdr *sechdrs;
Dmodpost.c306 static const char *sech_name(struct elf_info *elf, Elf_Shdr *sechdr) in sech_name()
487 Elf_Shdr *sechdrs; in parse_elf()
925 Elf_Shdr *sechdr) in check_section()
1773 Elf_Shdr *sechdr, Elf_Rela *r) in reloc_location()
1775 Elf_Shdr *sechdrs = elf->sechdrs; in reloc_location()
1782 static int addend_386_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) in addend_386_rel()
1825 static int addend_arm_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) in addend_arm_rel()
1859 static int addend_mips_rel(struct elf_info *elf, Elf_Shdr *sechdr, Elf_Rela *r) in addend_mips_rel()
1883 Elf_Shdr *sechdr) in section_rela()
1929 Elf_Shdr *sechdr) in section_rel()
[all …]