Home
last modified time | relevance | path

Searched refs:r_type (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/arch/s390/kernel/
H A Dmodule.c264 int r_type, r_sym; in apply_rela() local
276 switch (r_type) { in apply_rela()
287 if (r_type == R_390_8) in apply_rela()
306 if (r_type == R_390_PC16) in apply_rela()
342 r_type == R_390_GOTPLT16) in apply_rela()
345 r_type == R_390_GOTPLT20) in apply_rela()
348 r_type == R_390_GOTPLT32) in apply_rela()
351 r_type == R_390_GOTPLT64) in apply_rela()
414 r_type == R_390_PLTOFF32) in apply_rela()
436 if (r_type == R_390_GOTPC) in apply_rela()
[all …]
H A Dmachine_kexec_reloc.c5 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val, in arch_kexec_do_relocs() argument
8 switch (r_type) { in arch_kexec_do_relocs()
H A Dmachine_kexec_file.c307 int i, r_type; in arch_kexec_apply_relocations_add() local
359 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add()
361 if (r_type == R_390_PLT32DBL) in arch_kexec_apply_relocations_add()
362 r_type = R_390_PC32DBL; in arch_kexec_apply_relocations_add()
364 ret = arch_kexec_do_relocs(r_type, loc, val, addr); in arch_kexec_apply_relocations_add()
366 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
/openbmc/linux/arch/alpha/kernel/
H A Dmodule.c33 unsigned long r_type = ELF64_R_TYPE (rela->r_info); in process_reloc_for_got() local
37 if (r_type != R_ALPHA_LITERAL) in process_reloc_for_got()
154 unsigned long r_type = ELF64_R_TYPE (rela[i].r_info); in apply_relocate_add() local
155 unsigned long r_got_offset = r_type >> 8; in apply_relocate_add()
157 r_type &= 0xff; in apply_relocate_add()
167 switch (r_type) { in apply_relocate_add()
255 me->name, r_type); in apply_relocate_add()
261 me->name, r_type, sym->st_shndx); in apply_relocate_add()
265 me->name, r_type, strtab + sym->st_name); in apply_relocate_add()
/openbmc/linux/arch/ia64/kernel/
H A Dmodule.c642 switch (r_type) { in do_reloc()
670 switch (r_type) { in do_reloc()
690 if (r_type == R_IA64_PCREL21BI) { in do_reloc()
703 switch (r_type) { in do_reloc()
708 if (r_type == R_IA64_IPLTMSB) in do_reloc()
734 if (reloc_name[r_type]) in do_reloc()
739 mod->name, r_type); in do_reloc()
751 mod->name, reloc_name[r_type] ? reloc_name[r_type] : "?"); in do_reloc()
763 reloc_name[r_type] ? reloc_name[r_type] : "?", sym->st_value + addend); in do_reloc()
778 mod->name, format, reloc_name[r_type] ? reloc_name[r_type] : "?"); in do_reloc()
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Dmodule.h25 Elf64_Byte r_type; /* First relocation. */ member
34 Elf64_Byte r_type; /* First relocation. */ member
70 #define ELF_MIPS_R_TYPE(rel) ((rel).r_type)
/openbmc/linux/arch/x86/tools/
H A Drelocs.c861 switch (r_type) { in do_reloc64()
905 rel_type(r_type), symname); in do_reloc64()
918 if (r_type == R_X86_64_64) in do_reloc64()
926 rel_type(r_type), r_type); in do_reloc64()
941 switch (r_type) { in do_reloc32()
964 rel_type(r_type), symname); in do_reloc32()
973 rel_type(r_type), r_type); in do_reloc32()
986 switch (r_type) { in do_reloc_real()
1018 rel_type(r_type), symname); in do_reloc_real()
1041 rel_type(r_type), symname); in do_reloc_real()
[all …]
/openbmc/linux/arch/mips/boot/tools/
H A Drelocs_64.c19 Elf64_Byte r_type; /* First relocation. */ member
26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type)
H A Drelocs.c503 unsigned r_type = ELF_R_TYPE(rel->r_info); in do_reloc() local
514 switch (r_type) { in do_reloc()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
544 rel_type(r_type), r_type); in do_reloc()
/openbmc/u-boot/arch/mips/cpu/
H A Dstart.S26 # define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ argument
27 (((r_type) << 24) | ((r_type2) << 16) | ((r_type3) << 8) | (ssym))
29 # define MIPS64_R_INFO(ssym, r_type3, r_type2, r_type) \ argument
30 ((r_type) | ((r_type2) << 8) | ((r_type3) << 16) | (ssym) << 24)
/openbmc/linux/scripts/mod/
H A Dmodpost.c1222 switch (r_type) { in addend_386_rel()
1278 switch (r_type) { in addend_arm_rel()
1362 switch (r_type) { in addend_mips_rel()
1405 *r_type = mips64_r_info->r_type; in get_rel_type_and_sym()
1420 *r_type = ELF_R_TYPE(r_info); in get_rel_type_and_sym()
1440 unsigned int r_type, r_sym; in section_rela() local
1451 r_type == R_RISCV_SUB32) in section_rela()
1456 r_type == R_LARCH_SUB32) in section_rela()
1482 unsigned int r_type, r_sym; in section_rel() local
1493 taddr = addend_386_rel(loc, r_type); in section_rel()
[all …]
/openbmc/linux/arch/s390/boot/
H A Dstartup.c103 int r_type, r_sym, rc; in handle_relocs() local
124 r_type = ELF64_R_TYPE(rela->r_info); in handle_relocs()
125 rc = arch_kexec_do_relocs(r_type, (void *) loc, val, 0); in handle_relocs()
/openbmc/linux/arch/riscv/kernel/
H A Delf_kexec.c373 int i, r_type; in arch_kexec_apply_relocations_add() local
416 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add()
418 switch (r_type) { in arch_kexec_apply_relocations_add()
459 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
/openbmc/linux/arch/s390/include/asm/
H A Dkexec.h76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
/openbmc/linux/arch/powerpc/boot/
H A Drs6000.h233 char r_type[1]; member
/openbmc/linux/include/uapi/linux/
H A Dcoff.h344 char r_type[2]; /* Relocation type */ member
/openbmc/linux/scripts/
H A Drecordmcount.c495 myElf64_Byte r_type; /* First relocation. */ member
507 .r_mips = { .r_sym = w(sym), .r_type = type } in MIPS64_r_info()
/openbmc/linux/arch/powerpc/kernel/
H A Dmodule_64.c162 unsigned long r_type) in count_relocs() argument
172 if (ELF64_R_TYPE(rela[i].r_info) == r_type && in count_relocs()
/openbmc/linux/net/9p/
H A Dclient.c473 s8 r_type; in p9_parse_header() local
481 err = p9pdu_readf(pdu, 0, "dbw", &r_size, &r_type, &r_tag); in p9_parse_header()
486 *type = r_type; in p9_parse_header()
497 pdu->id = r_type; in p9_parse_header()