Home
last modified time | relevance | path

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

/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()
/linux/arch/x86/tools/
H A Drelocs.c743 unsigned r_type = ELF64_R_TYPE(rel->r_info); in do_reloc64() local
750 switch (r_type) { in do_reloc64()
782 die("Invalid absolute %s relocation: %s\n", rel_type(r_type), symname); in do_reloc64()
795 if (r_type == R_X86_64_64) in do_reloc64()
802 die("Unsupported relocation type: %s (%d)\n", rel_type(r_type), r_type); in do_reloc64()
814 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc32() local
817 switch (r_type) { in do_reloc32()
839 die("Invalid absolute %s relocation: %s\n", rel_type(r_type), symname); in do_reloc32()
847 die("Unsupported relocation type: %s (%d)\n", rel_type(r_type), r_type); in do_reloc32()
856 unsigned r_type = ELF32_R_TYPE(rel->r_info); in do_reloc_real() local
[all …]
/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)
/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.c509 unsigned r_type = ELF_R_TYPE(rel->r_info); in do_reloc() local
520 switch (r_type) { in do_reloc()
546 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
551 rel_type(r_type), r_type); in do_reloc()
/linux/scripts/mod/
H A Dmodpost.c1167 static Elf_Addr addend_386_rel(uint32_t *location, unsigned int r_type) in addend_386_rel() argument
1169 switch (r_type) { in addend_386_rel()
1186 static Elf_Addr addend_arm_rel(void *loc, Elf_Sym *sym, unsigned int r_type) in addend_arm_rel() argument
1191 switch (r_type) { in addend_arm_rel()
1270 static Elf_Addr addend_mips_rel(uint32_t *location, unsigned int r_type) in addend_mips_rel() argument
1275 switch (r_type) { in addend_mips_rel()
1311 unsigned int *r_type, unsigned int *r_sym) in get_rel_type_and_sym() argument
1318 unsigned char r_type; /* 1st relocation type */ in get_rel_type_and_sym() member
1326 *r_type = mips64_r_info->r_type; in get_rel_type_and_sym()
1336 *r_type = ELF_R_TYPE(r_info); in get_rel_type_and_sym()
[all …]
/linux/arch/s390/kernel/
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()
/linux/arch/riscv/kernel/
H A Dmachine_kexec_file.c153 int i, r_type; in arch_kexec_apply_relocations_add() local
196 r_type = ELF64_R_TYPE(relas[i].r_info); in arch_kexec_apply_relocations_add()
198 switch (r_type) { in arch_kexec_apply_relocations_add()
248 pr_err("Unknown rela relocation: %d\n", r_type); in arch_kexec_apply_relocations_add()
/linux/arch/s390/tools/
H A Drelocs.c268 unsigned int r_type = ELF64_R_TYPE(rel->r_info); in do_reloc() local
271 switch (r_type) { in do_reloc()
286 die("Unsupported relocation type: %d\n", r_type); in do_reloc()
/linux/include/uapi/linux/
H A Dcoff.h344 char r_type[2]; /* Relocation type */ member
/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()
/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()
/linux/net/9p/
H A Dclient.c351 s8 r_type; in p9_parse_header() local
359 err = p9pdu_readf(pdu, 0, "dbw", &r_size, &r_type, &r_tag); in p9_parse_header()
364 *type = r_type; in p9_parse_header()
375 pdu->id = r_type; in p9_parse_header()