Lines Matching refs:targetsec
405 enum elf_stub_type stub_type, Elf_Addr loc0, unsigned int targetsec) in get_stub() argument
411 if (!me->arch.section[targetsec].stub_offset) { in get_stub()
412 loc0 -= (me->arch.section[targetsec].stub_entries + 1) * in get_stub()
416 me->arch.section[targetsec].stub_offset = loc0; in get_stub()
420 stub = (void *) me->arch.section[targetsec].stub_offset; in get_stub()
421 me->arch.section[targetsec].stub_offset += sizeof(struct stub_entry); in get_stub()
424 BUG_ON(0 == me->arch.section[targetsec].stub_entries--); in get_stub()
515 unsigned int targetsec = sechdrs[relsec].sh_info; in apply_relocate_add() local
520 targetsec); in apply_relocate_add()
523 loc = (void *)sechdrs[targetsec].sh_addr in apply_relocate_add()
526 loc0 = sechdrs[targetsec].sh_addr; in apply_relocate_add()
609 ELF_STUB_DIRECT, loc0, targetsec); in apply_relocate_add()
624 ELF_STUB_DIRECT, loc0, targetsec); in apply_relocate_add()
661 unsigned int targetsec = sechdrs[relsec].sh_info; in apply_relocate_add() local
664 targetsec); in apply_relocate_add()
667 loc = (void *)sechdrs[targetsec].sh_addr in apply_relocate_add()
670 loc0 = sechdrs[targetsec].sh_addr; in apply_relocate_add()
739 loc0, targetsec); in apply_relocate_add()
750 loc0, targetsec); in apply_relocate_add()
753 loc0, targetsec); in apply_relocate_add()