Lines Matching refs:howto
138 bfd_reloc->howto = &bpf_elf_howto_table [i]; in bpf_info_to_howto()
195 reloc_howto_type * howto; in bpf_elf_relocate_section() local
212 howto = &bpf_elf_howto_table[howto_index]; in bpf_elf_relocate_section()
244 rel, 1, relend, howto, 0, contents); in bpf_elf_relocate_section()
249 switch (howto->type) in bpf_elf_relocate_section()
261 addend = bfd_get (howto->bitsize, input_bfd, in bpf_elf_relocate_section()
263 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
265 if ((addend & (((~howto->src_mask) >> 1) & howto->src_mask)) != 0) in bpf_elf_relocate_section()
266 addend -= (((~howto->src_mask) >> 1) & howto->src_mask) << 1; in bpf_elf_relocate_section()
270 bfd_put (howto->bitsize, input_bfd, relocation, in bpf_elf_relocate_section()
272 + (howto->bitsize == 16 ? 2 : 4)); in bpf_elf_relocate_section()
281 addend = bfd_get (howto->bitsize, input_bfd, where); in bpf_elf_relocate_section()
283 bfd_put (howto->bitsize, input_bfd, relocation, where); in bpf_elf_relocate_section()
316 r = bfd_check_overflow (howto->complain_on_overflow, in bpf_elf_relocate_section()
317 howto->bitsize, in bpf_elf_relocate_section()
318 howto->rightshift, in bpf_elf_relocate_section()
329 (info, (h ? &h->root : NULL), name, howto->name, in bpf_elf_relocate_section()
399 && (! reloc_entry->howto->partial_inplace in bpf_elf_generic_reloc()
407 && !reloc_entry->howto->pc_relative in bpf_elf_generic_reloc()
415 if (reloc_entry->howto->type == R_BPF_64_64) in bpf_elf_generic_reloc()
418 reloc_size = (reloc_entry->howto->bitsize in bpf_elf_generic_reloc()
419 + reloc_entry->howto->bitpos) / 8; in bpf_elf_generic_reloc()
436 status = bfd_check_overflow (reloc_entry->howto->complain_on_overflow, in bpf_elf_generic_reloc()
437 reloc_entry->howto->bitsize, in bpf_elf_generic_reloc()
438 reloc_entry->howto->rightshift, 64, relocation); in bpf_elf_generic_reloc()
444 if (reloc_entry->howto->type == R_BPF_64_64) in bpf_elf_generic_reloc()
460 bfd_put (reloc_entry->howto->bitsize, abfd, relocation, in bpf_elf_generic_reloc()
461 where + reloc_entry->howto->bitpos / 8); in bpf_elf_generic_reloc()