Lines Matching refs:relocation
393 bfd_vma relocation; in bpf_elf_relocate_section() local
412 relocation = BASEADDR (sec) + sym->st_value; in bpf_elf_relocate_section()
426 h, sec, relocation, in bpf_elf_relocate_section()
447 relocation = ((bfd_signed_vma) relocation in bpf_elf_relocate_section()
449 relocation = (bfd_signed_vma) relocation / 8; in bpf_elf_relocate_section()
458 relocation += addend; in bpf_elf_relocate_section()
461 bfd_put (howto->bitsize, input_bfd, relocation, in bpf_elf_relocate_section()
474 relocation += addend; in bpf_elf_relocate_section()
475 bfd_put (howto->bitsize, input_bfd, relocation, where); in bpf_elf_relocate_section()
484 relocation += addend; in bpf_elf_relocate_section()
485 bfd_put_16 (input_bfd, relocation, where + 2); in bpf_elf_relocate_section()
495 relocation += addend; in bpf_elf_relocate_section()
496 bfd_put_32 (input_bfd, relocation, where + 4); in bpf_elf_relocate_section()
517 relocation += addend; in bpf_elf_relocate_section()
519 bfd_put_32 (input_bfd, (relocation & 0xFFFFFFFF), where + 4); in bpf_elf_relocate_section()
520 bfd_put_32 (input_bfd, (relocation >> 32), where + 12); in bpf_elf_relocate_section()
532 64, relocation); in bpf_elf_relocate_section()
606 bfd_signed_vma relocation; in bpf_elf_generic_reloc() local
625 relocation = 0; in bpf_elf_generic_reloc()
627 relocation = symbol->value; in bpf_elf_generic_reloc()
631 relocation += BASEADDR (symbol->section); in bpf_elf_generic_reloc()
633 relocation += reloc_entry->addend; in bpf_elf_generic_reloc()
639 reloc_entry->howto->rightshift, 64, relocation); in bpf_elf_generic_reloc()
653 bfd_put_32 (abfd, (relocation & 0xFFFFFFFF), where + 4); in bpf_elf_generic_reloc()
654 bfd_put_32 (abfd, (relocation >> 32), where + 12); in bpf_elf_generic_reloc()
661 bfd_put (reloc_entry->howto->bitsize, abfd, relocation, in bpf_elf_generic_reloc()
665 reloc_entry->addend = relocation; in bpf_elf_generic_reloc()