/openbmc/linux/arch/s390/kernel/ |
H A D | module.c | 264 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 D | machine_kexec_reloc.c | 5 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 D | machine_kexec_file.c | 307 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 D | module.c | 33 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 D | module.c | 642 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 D | module.h | 25 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 D | relocs.c | 861 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 D | relocs_64.c | 19 Elf64_Byte r_type; /* First relocation. */ member 26 #define ELF_R_TYPE(val) (((Elf64_Mips_Rela *)(&val))->fields.r_type)
|
H A D | relocs.c | 503 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 D | start.S | 26 # 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 D | modpost.c | 1222 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 D | startup.c | 103 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 D | elf_kexec.c | 373 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 D | kexec.h | 76 int arch_kexec_do_relocs(int r_type, void *loc, unsigned long val,
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | rs6000.h | 233 char r_type[1]; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | coff.h | 344 char r_type[2]; /* Relocation type */ member
|
/openbmc/linux/scripts/ |
H A D | recordmcount.c | 495 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 D | module_64.c | 162 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 D | client.c | 473 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()
|