Lines Matching refs:howto
331 bfd_reloc->howto = &bpf_elf_howto_table [r_type]; in bpf_info_to_howto()
388 reloc_howto_type * howto; in bpf_elf_relocate_section() local
402 howto = bpf_elf_howto_table + ELF64_R_TYPE (rel->r_info); in bpf_elf_relocate_section()
434 rel, 1, relend, howto, 0, contents); in bpf_elf_relocate_section()
439 switch (howto->type) in bpf_elf_relocate_section()
452 addend = bfd_get (howto->bitsize, input_bfd, in bpf_elf_relocate_section()
454 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
456 if ((addend & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0) in bpf_elf_relocate_section()
457 addend -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1; in bpf_elf_relocate_section()
461 bfd_put (howto->bitsize, input_bfd, relocation, in bpf_elf_relocate_section()
463 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
473 addend = bfd_get (howto->bitsize, input_bfd, where); in bpf_elf_relocate_section()
475 bfd_put (howto->bitsize, input_bfd, relocation, where); in bpf_elf_relocate_section()
529 r = bfd_check_overflow (howto->complain_on_overflow, in bpf_elf_relocate_section()
530 howto->bitsize, in bpf_elf_relocate_section()
531 howto->rightshift, in bpf_elf_relocate_section()
542 (info, (h ? &h->root : NULL), name, howto->name, in bpf_elf_relocate_section()
613 if (reloc_entry->howto->type == R_BPF_INSN_64) in bpf_elf_generic_reloc()
616 reloc_size = (reloc_entry->howto->bitsize in bpf_elf_generic_reloc()
617 + reloc_entry->howto->bitpos) / 8; in bpf_elf_generic_reloc()
637 status = bfd_check_overflow (reloc_entry->howto->complain_on_overflow, in bpf_elf_generic_reloc()
638 reloc_entry->howto->bitsize, in bpf_elf_generic_reloc()
639 reloc_entry->howto->rightshift, 64, relocation); in bpf_elf_generic_reloc()
645 if (reloc_entry->howto->type == R_BPF_INSN_64) in bpf_elf_generic_reloc()
661 bfd_put (reloc_entry->howto->bitsize, abfd, relocation, in bpf_elf_generic_reloc()
662 where + reloc_entry->howto->bitpos / 8); in bpf_elf_generic_reloc()