Searched refs:sh_type (Results 1 - 25 of 49) sorted by path

12

/linux-master/arch/mips/vdso/
H A Dgenvdso.h31 switch (swap_uint32(shdr->sh_type)) {
50 shdr->sh_type = swap_uint32(SHT_MIPS_ABIFLAGS);
76 if (swap_uint32(shdr->sh_type) == SHT_SYMTAB)
/linux-master/arch/sparc/vdso/
H A Dvdso2c.h68 if (GET_BE(&sh->sh_type) == SHT_SYMTAB)
/linux-master/scripts/
H A Dinsert-sys-cert.c196 if (x[i].sh_type == SHT_SYMTAB)
/linux-master/arch/alpha/kernel/
H A Dmodule.c79 if (s->sh_type == SHT_SYMTAB)
106 got->sh_type = SHT_NOBITS;
111 if (s->sh_type == SHT_RELA) {
/linux-master/arch/arm/kernel/
H A Dmodule-plts.c226 else if (s->sh_type == SHT_SYMTAB)
244 if (s->sh_type != SHT_REL)
262 mod->arch.core.plt->sh_type = SHT_NOBITS;
270 mod->arch.init.plt->sh_type = SHT_NOBITS;
H A Dmodule.c471 s->sh_type != ELF_SECTION_UNWIND)
/linux-master/arch/arm64/kernel/
H A Dmodule-plts.c301 else if (sechdrs[i].sh_type == SHT_SYMTAB)
319 if (sechdrs[i].sh_type != SHT_RELA)
344 pltsec->sh_type = SHT_NOBITS;
352 pltsec->sh_type = SHT_NOBITS;
360 tramp->sh_type = SHT_NOBITS;
/linux-master/arch/arm64/kernel/pi/
H A Drelacheck.c83 if (swab_elfword(shdr[i].sh_type) != SHT_RELA)
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dgen-hyprel.c431 switch (elf32toh(shdr->sh_type)) {
/linux-master/arch/loongarch/kernel/
H A Dmodule-sections.c143 if (sechdrs[i].sh_type != SHT_RELA)
154 got_sec->sh_type = SHT_NOBITS;
162 plt_sec->sh_type = SHT_NOBITS;
170 plt_idx_sec->sh_type = SHT_NOBITS;
178 tramp->sh_type = SHT_NOBITS;
/linux-master/arch/mips/boot/
H A Delf2ecoff.c209 s->sh_type = swab32(s->sh_type);
/linux-master/arch/mips/boot/tools/
H A Drelocs.c280 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type);
301 if (sec->shdr.sh_type != SHT_STRTAB)
325 if (sec->shdr.sh_type != SHT_SYMTAB)
369 if (sec->shdr.sh_type != SHT_REL_TYPE)
415 if (sec->shdr.sh_type != SHT_REL_TYPE)
480 if (sec->shdr.sh_type != SHT_REL_TYPE)
/linux-master/arch/mips/kernel/
H A Dvpe.c620 if ((sechdrs[i].sh_type != SHT_NOBITS) &&
633 if (sechdrs[i].sh_type == SHT_SYMTAB) {
658 if (sechdrs[i].sh_type != SHT_NOBITS)
686 if (sechdrs[i].sh_type == SHT_REL)
689 else if (sechdrs[i].sh_type == SHT_RELA)
713 if (sechdrs[i].sh_type == SHT_SYMTAB) {
/linux-master/arch/mips/tools/
H A Dloongson3-llsc-check.c288 if (sh->sh_type != SHT_PROGBITS)
/linux-master/arch/parisc/kernel/
H A Dmodule.c302 if (sechdrs[i].sh_type != SHT_RELA)
872 if(sechdrs[i].sh_type == SHT_SYMTAB
939 if (s->sh_type == SHT_REL)
943 else if (s->sh_type == SHT_RELA)
/linux-master/arch/powerpc/kernel/
H A Dmodule_32.c94 if (sechdrs[i].sh_type == SHT_RELA) {
H A Dmodule_64.c216 if (sechdrs[i].sh_type == SHT_RELA) {
297 if (sechdrs[i].sh_type == SHT_SYMTAB) {
306 if (sechdrs[i].sh_type == SHT_RELA) {
432 if (sechdrs[i].sh_type == SHT_SYMTAB)
/linux-master/arch/riscv/kernel/
H A Dmodule-sections.c128 if (sechdrs[i].sh_type != SHT_RELA)
138 mod->arch.plt.shdr->sh_type = SHT_NOBITS;
145 mod->arch.got.shdr->sh_type = SHT_NOBITS;
152 mod->arch.got_plt.shdr->sh_type = SHT_NOBITS;
/linux-master/arch/s390/kernel/
H A Dmodule.c155 switch (sechdrs[i].sh_type) {
188 if (sechdrs[i].sh_type != SHT_RELA)
/linux-master/arch/s390/tools/
H A Drelocs.c203 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type);
226 if (sec->shdr.sh_type != SHT_REL_TYPE)
303 if (sec->shdr.sh_type != SHT_REL_TYPE)
/linux-master/arch/sh/kernel/
H A Dhw_breakpoint.c135 int arch_bp_generic_fields(int sh_len, int sh_type, argument
157 switch (sh_type) {
/linux-master/arch/sparc/kernel/
H A Dmodule.c65 for (symidx = 0; sechdrs[symidx].sh_type != SHT_SYMTAB; symidx++) {
/linux-master/arch/x86/entry/vdso/
H A Dvdso2c.h109 if (GET_LE(&sh->sh_type) == SHT_SYMTAB)
/linux-master/arch/x86/tools/
H A Drelocs.c294 if (sec->shdr.sh_type != SHT_SYMTAB)
456 sec->shdr.sh_type = elf_word_to_cpu(shdr.sh_type);
476 if (sec->shdr.sh_type != SHT_STRTAB) {
504 switch (sec->shdr.sh_type) {
563 if (sec->shdr.sh_type != SHT_REL_TYPE) {
609 if (sec->shdr.sh_type != SHT_SYMTAB) {
648 if (sec->shdr.sh_type != SHT_REL_TYPE) {
661 if (sec_applies->shdr.sh_type == SHT_NOTE) {
741 if (sec->shdr.sh_type !
[all...]
/linux-master/drivers/remoteproc/
H A Dremoteproc_elf_helpers.h79 ELF_GEN_FIELD_GET_SET(shdr, sh_type, u32)

Completed in 441 milliseconds

12