/linux-2.6.39/arch/powerpc/kernel/ |
D | module_64.c | 138 const Elf64_Shdr *sechdrs) in get_stubs_size() argument 146 if (sechdrs[i].sh_type == SHT_RELA) { in get_stubs_size() 149 (void *)sechdrs[i].sh_addr, in get_stubs_size() 150 sechdrs[i].sh_size / sizeof(Elf64_Rela)); in get_stubs_size() 157 sort((void *)sechdrs[i].sh_addr, in get_stubs_size() 158 sechdrs[i].sh_size / sizeof(Elf64_Rela), in get_stubs_size() 161 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size() 162 sechdrs[i].sh_size in get_stubs_size() 201 Elf64_Shdr *sechdrs, in module_frob_arch_sections() argument 210 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0) in module_frob_arch_sections() [all …]
|
D | module_32.c | 104 const Elf32_Shdr *sechdrs, in get_plt_size() argument 116 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != 0) in get_plt_size() 121 if (strstr(secstrings + sechdrs[i].sh_name, ".debug") != 0) in get_plt_size() 124 if (sechdrs[i].sh_type == SHT_RELA) { in get_plt_size() 127 (void *)hdr + sechdrs[i].sh_offset, in get_plt_size() 128 sechdrs[i].sh_size / sizeof(Elf32_Rela)); in get_plt_size() 135 sort((void *)hdr + sechdrs[i].sh_offset, in get_plt_size() 136 sechdrs[i].sh_size / sizeof(Elf32_Rela), in get_plt_size() 140 + sechdrs[i].sh_offset, in get_plt_size() 141 sechdrs[i].sh_size in get_plt_size() [all …]
|
D | module.c | 49 const Elf_Shdr *sechdrs, in find_section() argument 55 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_section() 57 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0) in find_section() 58 return &sechdrs[i]; in find_section() 63 const Elf_Shdr *sechdrs, struct module *me) in module_finalize() argument 68 sect = find_section(hdr, sechdrs, "__ftr_fixup"); in module_finalize() 74 sect = find_section(hdr, sechdrs, "__mmu_ftr_fixup"); in module_finalize() 81 sect = find_section(hdr, sechdrs, "__fw_ftr_fixup"); in module_finalize() 88 sect = find_section(hdr, sechdrs, "__lwsync_fixup"); in module_finalize()
|
/linux-2.6.39/arch/m68k/kernel/ |
D | module_no.c | 30 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 37 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 44 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 49 sechdrs[relsec].sh_info); in apply_relocate() 50 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 52 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 56 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 77 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 84 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 89 sechdrs[relsec].sh_info); in apply_relocate_add() [all …]
|
D | module_mm.c | 38 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 45 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 52 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 57 sechdrs[relsec].sh_info); in apply_relocate() 58 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 64 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 85 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 92 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 97 sechdrs[relsec].sh_info); in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/x86/kernel/ |
D | module.c | 55 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 63 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 70 Elf32_Rel *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate() 75 sechdrs[relsec].sh_info); in apply_relocate() 76 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 78 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 82 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 103 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 114 int apply_relocate_add(Elf64_Shdr *sechdrs, in apply_relocate_add() argument 121 Elf64_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | module.c | 79 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 88 for (symidx = 0; sechdrs[symidx].sh_type != SHT_SYMTAB; symidx++) { in module_frob_arch_sections() 94 sym = (Elf_Sym *)sechdrs[symidx].sh_addr; in module_frob_arch_sections() 95 strtab = (char *)sechdrs[sechdrs[symidx].sh_link].sh_addr; in module_frob_arch_sections() 97 for (i = 1; i < sechdrs[symidx].sh_size / sizeof(Elf_Sym); i++) { in module_frob_arch_sections() 110 int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() argument 121 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() argument 128 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 133 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 137 location = (u8 *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/blackfin/kernel/ |
D | module.c | 34 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 44 Elf_Shdr *s, *sechdrs_end = sechdrs + hdr->e_shnum; in module_frob_arch_sections() 47 for (s = sechdrs; s < sechdrs_end; ++s) { in module_frob_arch_sections() 154 apply_relocate(Elf_Shdr * sechdrs, const char *strtab, in apply_relocate() argument 172 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 177 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 182 relsec, sechdrs[relsec].sh_info); in apply_relocate_add() 184 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 186 location = sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add() 191 sym = (Elf32_Sym *) sechdrs[symindex].sh_addr in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/sh/kernel/ |
D | module.c | 54 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 61 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 68 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 75 sechdrs[relsec].sh_info); in apply_relocate_add() 76 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 78 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 82 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 134 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 146 const Elf_Shdr *sechdrs, in module_finalize() argument 151 ret |= module_dwarf_finalize(hdr, sechdrs, me); in module_finalize()
|
/linux-2.6.39/arch/cris/kernel/ |
D | module.c | 56 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 63 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 73 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 80 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 83 sechdrs[relsec].sh_info); in apply_relocate_add() 85 for (i = 0; i < sechdrs[relsec].sh_size / sizeof (*rela); i++) { in apply_relocate_add() 88 = ((void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 93 = ((Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 113 const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/arch/h8300/kernel/ |
D | module.c | 30 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 37 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 48 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 55 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 58 sechdrs[relsec].sh_info); in apply_relocate_add() 59 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 61 uint32_t *loc = (uint32_t *)(sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 65 Elf32_Sym *sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 112 const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/arch/microblaze/kernel/ |
D | module.c | 37 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 44 int apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate() argument 52 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 57 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 66 relsec, sechdrs[relsec].sh_info); in apply_relocate_add() 68 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 70 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add() 72 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr + in apply_relocate_add() 152 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/arch/mips/kernel/ |
D | vpe.c | 307 Elf_Shdr * sechdrs, const char *secstrings) in layout_sections() argument 321 sechdrs[i].sh_entsize = ~0UL; in layout_sections() 325 Elf_Shdr *s = &sechdrs[i]; in layout_sections() 556 static int apply_relocations(Elf32_Shdr *sechdrs, in apply_relocations() argument 562 Elf32_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocations() 569 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocations() 573 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocations() 576 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocations() 611 static void simplify_symbols(Elf_Shdr * sechdrs, in simplify_symbols() argument 617 Elf_Sym *sym = (void *)sechdrs[symindex].sh_addr; in simplify_symbols() [all …]
|
D | module.c | 67 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 279 int apply_relocate(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate() argument 283 Elf_Mips_Rel *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate() 291 sechdrs[relsec].sh_info); in apply_relocate() 293 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate() 295 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 298 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate() 319 int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 323 Elf_Mips_Rela *rel = (void *) sechdrs[relsec].sh_addr; in apply_relocate_add() 331 sechdrs[relsec].sh_info); in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/mn10300/kernel/ |
D | module.c | 58 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 86 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 100 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 107 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 114 relsec, sechdrs[relsec].sh_info); in apply_relocate_add() 116 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 118 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 123 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 206 const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/arch/xtensa/kernel/ |
D | module.c | 40 Elf32_Shdr *sechdrs, in module_frob_arch_sections() argument 69 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 81 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 88 Elf32_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 95 sechdrs[relsec].sh_info); in apply_relocate_add() 97 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rela); i++) { in apply_relocate_add() 98 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 100 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 227 const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/arch/alpha/kernel/ |
D | module.c | 90 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, in module_frob_arch_sections() argument 98 esechdrs = sechdrs + hdr->e_shnum; in module_frob_arch_sections() 104 for (s = sechdrs; s < esechdrs; ++s) in module_frob_arch_sections() 109 me->arch.gotsecindex = s - sechdrs; in module_frob_arch_sections() 136 for (s = sechdrs; s < esechdrs; ++s) in module_frob_arch_sections() 159 apply_relocate(Elf64_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument 167 apply_relocate_add(Elf64_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 171 Elf64_Rela *rela = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 172 unsigned long i, n = sechdrs[relsec].sh_size / sizeof(*rela); in apply_relocate_add() 178 sechdrs[relsec].sh_info); in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/arm/kernel/ |
D | module.c | 59 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 67 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument 70 Elf32_Shdr *symsec = sechdrs + symindex; in apply_relocate() 71 Elf32_Shdr *relsec = sechdrs + relindex; in apply_relocate() 72 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() 260 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 274 const Elf_Shdr *sechdrs, const char *name) in find_mod_section() argument 277 const char *secstrs = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; in find_mod_section() 279 for (s = sechdrs, se = sechdrs + hdr->e_shnum; s < se; s++) in find_mod_section() 289 int module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() argument [all …]
|
/linux-2.6.39/arch/tile/kernel/ |
D | module.c | 97 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 104 int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() argument 145 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() argument 152 Elf_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 158 sechdrs[relsec].sh_info); in apply_relocate_add() 159 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 161 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 167 sym = (Elf_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 248 const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/arch/parisc/kernel/ |
D | module.c | 317 CONST Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 330 const Elf_Rela *rels = (void *)sechdrs[i].sh_addr; in module_frob_arch_sections() 331 unsigned long nrels = sechdrs[i].sh_size / sizeof(*rels); in module_frob_arch_sections() 334 if (strncmp(secstrings + sechdrs[i].sh_name, in module_frob_arch_sections() 338 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections() 358 s = sechdrs[i].sh_info; in module_frob_arch_sections() 535 int apply_relocate(Elf_Shdr *sechdrs, in apply_relocate() argument 548 int apply_relocate_add(Elf_Shdr *sechdrs, in apply_relocate_add() argument 555 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 562 unsigned int targetsec = sechdrs[relsec].sh_info; in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/s390/kernel/ |
D | module.c | 116 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 128 switch (sechdrs[i].sh_type) { in module_frob_arch_sections() 130 symtab = sechdrs + i; in module_frob_arch_sections() 145 strings = (void *) hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections() 161 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections() 163 nrela = sechdrs[i].sh_size / sizeof(Elf_Rela); in module_frob_arch_sections() 164 rela = (void *) hdr + sechdrs[i].sh_offset; in module_frob_arch_sections() 180 apply_relocate(Elf_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument 379 apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 390 relsec, sechdrs[relsec].sh_info); in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/avr32/kernel/ |
D | module.c | 69 int module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 82 switch (sechdrs[i].sh_type) { in module_frob_arch_sections() 84 symtab = &sechdrs[i]; in module_frob_arch_sections() 100 strings = (void *)hdr + sechdrs[symtab->sh_link].sh_offset; in module_frob_arch_sections() 114 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections() 116 nrela = sechdrs[i].sh_size / sizeof(Elf32_Rela); in module_frob_arch_sections() 117 rela = (void *)hdr + sechdrs[i].sh_offset; in module_frob_arch_sections() 154 int apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 158 Elf32_Shdr *symsec = sechdrs + symindex; in apply_relocate_add() 159 Elf32_Shdr *relsec = sechdrs + relindex; in apply_relocate_add() [all …]
|
/linux-2.6.39/arch/m32r/kernel/ |
D | module.c | 51 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 98 int apply_relocate_add(Elf32_Shdr *sechdrs, in apply_relocate_add() argument 105 Elf32_Rela *rel = (void *)sechdrs[relsec].sh_addr; in apply_relocate_add() 116 sechdrs[relsec].sh_info); in apply_relocate_add() 117 for (i = 0; i < sechdrs[relsec].sh_size / sizeof(*rel); i++) { in apply_relocate_add() 119 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 123 sym = (Elf32_Sym *)sechdrs[symindex].sh_addr in apply_relocate_add() 232 int apply_relocate(Elf32_Shdr *sechdrs, in apply_relocate() argument 248 const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/arch/unicore32/kernel/ |
D | module.c | 46 Elf_Shdr *sechdrs, in module_frob_arch_sections() argument 54 apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, in apply_relocate() argument 57 Elf32_Shdr *symsec = sechdrs + symindex; in apply_relocate() 58 Elf32_Shdr *relsec = sechdrs + relindex; in apply_relocate() 59 Elf32_Shdr *dstsec = sechdrs + relsec->sh_info; in apply_relocate() 133 apply_relocate_add(Elf32_Shdr *sechdrs, const char *strtab, in apply_relocate_add() argument 143 module_finalize(const Elf32_Ehdr *hdr, const Elf_Shdr *sechdrs, in module_finalize() argument
|
/linux-2.6.39/scripts/mod/ |
D | modpost.c | 375 Elf_Shdr *sechdrs; in parse_elf() local 412 sechdrs = (void *)hdr + hdr->e_shoff; in parse_elf() 413 info->sechdrs = sechdrs; in parse_elf() 429 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf() 436 shndx2secindex(TO_NATIVE(sechdrs[0].sh_link)); in parse_elf() 444 sechdrs[i].sh_name = TO_NATIVE(sechdrs[i].sh_name); in parse_elf() 445 sechdrs[i].sh_type = TO_NATIVE(sechdrs[i].sh_type); in parse_elf() 446 sechdrs[i].sh_flags = TO_NATIVE(sechdrs[i].sh_flags); in parse_elf() 447 sechdrs[i].sh_addr = TO_NATIVE(sechdrs[i].sh_addr); in parse_elf() 448 sechdrs[i].sh_offset = TO_NATIVE(sechdrs[i].sh_offset); in parse_elf() [all …]
|