Home
last modified time | relevance | path

Searched refs:sh_type (Results 1 – 25 of 64) sorted by relevance

123

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dgenelf.c195 shdr->sh_type = SHT_PROGBITS; in jit_add_eh_frame_info()
229 shdr->sh_type = SHT_PROGBITS; in jit_add_eh_frame_info()
331 shdr->sh_type = SHT_PROGBITS; in jit_write_elf()
377 shdr->sh_type = SHT_STRTAB; in jit_write_elf()
413 shdr->sh_type = SHT_SYMTAB; in jit_write_elf()
456 shdr->sh_type = SHT_STRTAB; in jit_write_elf()
498 shdr->sh_type = SHT_NOTE; in jit_write_elf()
H A Dgenelf_debug.c528 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info()
562 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info()
596 shdr->sh_type = SHT_PROGBITS; in jit_add_debug_info()
/OK3568_Linux_fs/u-boot/tools/
H A Dmips-relocs.c198 unsigned int i, j, i_rel_shdr, sh_type, sh_entsize, sh_entries; in main() local
323 sh_type = shdr_field(i, sh_type); in main()
324 if ((sh_type != SHT_REL) && (sh_type != SHT_RELA)) in main()
355 if (sh_type == SHT_REL) { in main()
/OK3568_Linux_fs/kernel/arch/riscv/kernel/
H A Dmodule-sections.c128 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
138 mod->arch.plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
145 mod->arch.got.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
152 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS; in module_frob_arch_sections()
/OK3568_Linux_fs/kernel/arch/mips/vdso/
H A Dgenvdso.h31 switch (swap_uint32(shdr->sh_type)) { in FUNC()
50 shdr->sh_type = swap_uint32(SHT_MIPS_ABIFLAGS); in FUNC()
76 if (swap_uint32(shdr->sh_type) == SHT_SYMTAB) in FUNC()
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dmodule-plts.c313 else if (sechdrs[i].sh_type == SHT_SYMTAB) in module_frob_arch_sections()
335 if (sechdrs[i].sh_type != SHT_RELA) in module_frob_arch_sections()
388 pltsec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
396 pltsec->sh_type = SHT_NOBITS; in module_frob_arch_sections()
404 tramp->sh_type = SHT_NOBITS; in module_frob_arch_sections()
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A Dmodule-plts.c231 else if (s->sh_type == SHT_SYMTAB) in module_frob_arch_sections()
249 if (s->sh_type != SHT_REL) in module_frob_arch_sections()
267 mod->arch.core.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
275 mod->arch.init.plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
/OK3568_Linux_fs/kernel/scripts/
H A Drecordmcount.h247 if (relhdr->sh_type == SHT_SYMTAB) in find_symtab()
249 else if (relhdr->sh_type == SHT_SYMTAB_SHNDX) in find_symtab()
309 mcsec.sh_type = w(SHT_PROGBITS); in append_func()
322 mcsec.sh_type = (sizeof(Elf_Rela) == rel_entsize) in append_func()
567 if (w(txthdr->sh_type) != SHT_PROGBITS || in __has_rel_mcount()
578 if (w(relhdr->sh_type) != SHT_REL && w(relhdr->sh_type) != SHT_RELA) in has_rel_mcount()
H A Dsorttable.h246 if ((r(&s->sh_type) == SHT_REL || in do_sort()
247 r(&s->sh_type) == SHT_RELA) && in do_sort()
252 if (r(&s->sh_type) == SHT_SYMTAB_SHNDX) in do_sort()
/OK3568_Linux_fs/kernel/arch/mips/boot/tools/
H A Drelocs.c280 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
301 if (sec->shdr.sh_type != SHT_STRTAB) in read_strtabs()
325 if (sec->shdr.sh_type != SHT_SYMTAB) in read_symtabs()
369 if (sec->shdr.sh_type != SHT_REL_TYPE) in read_relocs()
415 if (sec->shdr.sh_type != SHT_REL_TYPE) in remove_relocs()
480 if (sec->shdr.sh_type != SHT_REL_TYPE) in walk_relocs()
/OK3568_Linux_fs/buildroot/package/patchelf/
H A D0010-Fix-endianness-issues-for-powerpc-PIE.patch20 This also fixes a read of the shdr.sh_type in writeReplacedSections but
52 - if (shdr.sh_type != SHT_NOBITS)
53 + if (rdi(shdr.sh_type) != SHT_NOBITS)
/OK3568_Linux_fs/kernel/arch/x86/tools/
H A Drelocs.c284 if (sec->shdr.sh_type != SHT_SYMTAB) in sym_lookup()
429 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type); in read_shdrs()
449 if (sec->shdr.sh_type != SHT_STRTAB) { in read_strtabs()
474 if (sec->shdr.sh_type != SHT_SYMTAB) { in read_symtabs()
507 if (sec->shdr.sh_type != SHT_REL_TYPE) { in read_relocs()
553 if (sec->shdr.sh_type != SHT_SYMTAB) { in print_absolute_symbols()
592 if (sec->shdr.sh_type != SHT_REL_TYPE) { in print_absolute_relocs()
677 if (sec->shdr.sh_type != SHT_REL_TYPE) { in walk_relocs()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dvpe.c621 if ((sechdrs[i].sh_type != SHT_NOBITS) && in vpe_elfload()
634 if (sechdrs[i].sh_type == SHT_SYMTAB) { in vpe_elfload()
659 if (sechdrs[i].sh_type != SHT_NOBITS) in vpe_elfload()
687 if (sechdrs[i].sh_type == SHT_REL) in vpe_elfload()
690 else if (sechdrs[i].sh_type == SHT_RELA) in vpe_elfload()
714 if (sechdrs[i].sh_type == SHT_SYMTAB) { in vpe_elfload()
/OK3568_Linux_fs/u-boot/cmd/
H A Delf.c71 if (shdr->sh_type == SHT_STRTAB) in load_elf_image_shdr()
86 (shdr->sh_type == SHT_NOBITS) ? "Clear" : "Load", in load_elf_image_shdr()
92 if (shdr->sh_type == SHT_NOBITS) { in load_elf_image_shdr()
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dmodule.c79 if (s->sh_type == SHT_SYMTAB) in module_frob_arch_sections()
106 got->sh_type = SHT_NOBITS; in module_frob_arch_sections()
111 if (s->sh_type == SHT_RELA) { in module_frob_arch_sections()
/OK3568_Linux_fs/kernel/kernel/
H A Dkexec_file.c831 if (sechdrs[i].sh_type != SHT_NOBITS) { in kexec_purgatory_setup_kbuf()
905 if (sechdrs[i].sh_type == SHT_NOBITS) { in kexec_purgatory_setup_sechdrs()
948 if (relsec->sh_type != SHT_RELA && in kexec_apply_relocations()
949 relsec->sh_type != SHT_REL) in kexec_apply_relocations()
980 if (relsec->sh_type == SHT_RELA) in kexec_apply_relocations()
983 else if (relsec->sh_type == SHT_REL) in kexec_apply_relocations()
1059 if (sechdrs[i].sh_type != SHT_SYMTAB) in kexec_purgatory_find_symbol()
1134 if (sec->sh_type == SHT_NOBITS) { in kexec_purgatory_get_set_symbol()
/OK3568_Linux_fs/kernel/tools/objtool/
H A Delf.c819 if ((sec->sh.sh_type != SHT_RELA) && in read_relocs()
820 (sec->sh.sh_type != SHT_REL)) in read_relocs()
840 switch (sec->sh.sh_type) { in read_relocs()
1036 sec->sh.sh_type = SHT_PROGBITS; in elf_create_section()
1082 sec->sh.sh_type = SHT_REL; in elf_create_rel_reloc_section()
1112 sec->sh.sh_type = SHT_RELA; in elf_create_rela_reloc_section()
1200 switch (sec->sh.sh_type) { in elf_rebuild_reloc_section()
1230 if (sec->sh.sh_type == SHT_REL) { in elf_write_reloc()
/OK3568_Linux_fs/kernel/arch/powerpc/oprofile/cell/
H A Dvma_map.c174 if (shdr.sh_type != SHT_SYMTAB) in create_vma_map()
184 if (shdr_str.sh_type != SHT_STRTAB) in create_vma_map()
/OK3568_Linux_fs/kernel/arch/sh/kernel/
H A Dhw_breakpoint.c135 int arch_bp_generic_fields(int sh_len, int sh_type, in arch_bp_generic_fields() argument
157 switch (sh_type) { in arch_bp_generic_fields()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/minidump/
H A Drk_minidump.c164 shdr->sh_type = SHT_PROGBITS; in md_update_ss_toc()
532 shdr->sh_type = SHT_STRTAB; in rk_minidump_add_header()
541 shdr->sh_type = SHT_PROGBITS; in rk_minidump_add_header()
552 shdr->sh_type = SHT_PROGBITS; in rk_minidump_add_header()
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dmodule.c455 if (s->sh_type != SHT_RELA) in module_frob_arch_sections()
466 mod->arch.core_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
470 mod->arch.init_plt->sh_type = SHT_NOBITS; in module_frob_arch_sections()
474 mod->arch.got->sh_type = SHT_NOBITS; in module_frob_arch_sections()
478 mod->arch.opd->sh_type = SHT_NOBITS; in module_frob_arch_sections()
/OK3568_Linux_fs/yocto/poky/scripts/
H A Drelocate_sdk.py138 sh_name, sh_type, sh_flags, sh_addr, sh_offset, sh_size, sh_link,\
144 if sh_type == 1:
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Delf.h306 Elf32_Word sh_type; member
319 Elf64_Word sh_type; /* Type of section */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Delf.h305 Elf32_Word sh_type; member
318 Elf64_Word sh_type; /* Type of section */ member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Delf.h305 Elf32_Word sh_type; member
318 Elf64_Word sh_type; /* Type of section */ member

123