Searched refs:r_offset (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-10-stable/usr.sbin/kldxref/
H A Def_sparc64.c52 if (relbase + a->r_offset >= dataoff && relbase + a->r_offset <
57 memcpy((u_char *)dest + (relbase + a->r_offset -
H A Def_i386.c56 where = (Elf_Addr *)(dest + relbase + rel->r_offset - dataoff);
63 where = (Elf_Addr *)(dest + relbase + rela->r_offset - dataoff);
H A Def_powerpc.c58 where = (Elf_Addr *) ((Elf_Off)dest - dataoff + rela->r_offset);
H A Def_amd64.c57 where = (Elf_Addr *)(dest + relbase + rel->r_offset - dataoff);
64 where = (Elf_Addr *)(dest + relbase + rela->r_offset - dataoff);
/freebsd-10-stable/contrib/llvm/lib/MC/
H A DMCELFObjectTargetWriter.cpp42 // ELF doesn't require relocations to be in any order. We sort by the r_offset,
48 if (A.r_offset != B.r_offset)
49 return B.r_offset - A.r_offset;
/freebsd-10-stable/sys/boot/common/
H A Dreloc_elf.c48 * r_offset == 0). `dataaddr' is the relocated address corresponding to
62 if (relbase + a->r_offset >= dataaddr &&
63 relbase + a->r_offset < dataaddr + len) {
68 a->r_offset - dataaddr), sizeof(w));
90 where = (Elf_Addr *)((char *)data + relbase + rel->r_offset -
99 where = (Elf_Addr *)((char *)data + relbase + rela->r_offset -
147 where = (Elf_Addr *)((char *)data + relbase + rel->r_offset -
156 where = (Elf_Addr *)((char *)data + relbase + rela->r_offset -
202 if (relbase + rela->r_offset >= dataaddr &&
203 relbase + rela->r_offset < dataadd
[all...]
/freebsd-10-stable/contrib/binutils/include/elf/
H A Dexternal.h161 unsigned char r_offset[4]; /* Location at which to apply the action */ member in struct:__anon519
166 unsigned char r_offset[4]; /* Location at which to apply the action */ member in struct:__anon520
172 unsigned char r_offset[8]; /* Location at which to apply the action */ member in struct:__anon521
177 unsigned char r_offset[8]; /* Location at which to apply the action */ member in struct:__anon522
/freebsd-10-stable/libexec/rtld-elf/
H A Ddebug.c40 " symbol name r_info r_offset st_value st_size address value\n"
113 dstaddr = (Elf_Addr *)(obj->relocbase + rel->r_offset);
117 (u_long)rel->r_info, (u_long)rel->r_offset,
135 dstaddr = (Elf_Addr *)(obj->relocbase + rela->r_offset);
139 (u_long)rela->r_info, (u_long)rela->r_offset,
/freebsd-10-stable/contrib/llvm/include/llvm/MC/
H A DMCELFObjectWriter.h31 uint64_t r_offset; member in struct:llvm::ELFRelocationEntry
39 : r_offset(0), Index(0), Type(0), Symbol(0), r_addend(0), Fixup(0) {}
43 : r_offset(RelocOffset), Index(Idx), Type(RelType), Symbol(Sym),
/freebsd-10-stable/contrib/binutils/include/coff/
H A Dsh.h55 char r_offset[4]; member in struct:external_reloc
103 The r_offset field holds the difference between the reloc address
111 can relax. The r_offset field of the USES reloc holds the PC
118 loads associated with USES relocs. The r_offset field of the COUNT
123 /* The ALIGN reloc type is used for relaxing. The r_offset field is
H A Darm.h121 char r_offset[4]; member in struct:external_reloc
H A Dsparc.h150 char r_offset[4]; member in struct:external_reloc
/freebsd-10-stable/contrib/binutils/bfd/
H A Delf32-cr16.c707 if ((irel->r_offset > addr && irel->r_offset < toaddr))
708 irel->r_offset -= count;
850 contents, rel->r_offset,
875 rel->r_offset)))
882 rel->r_offset, TRUE)))
905 rel->r_offset)))
1155 value -= irel->r_offset;
1166 code = (unsigned int) bfd_get_32 (abfd, contents + irel->r_offset);
1171 bfd_put_16 (abfd, 0x1800 | ((0xf & (code >>20))<<4), contents + irel->r_offset);
[all...]
H A Delf32-i386.c1274 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset))
1281 if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_offset))
2280 bfd_byte *where = contents + rel->r_offset;
2359 _bfd_clear_contents (howto, input_bfd, contents + rel->r_offset);
2439 outrel.r_offset = (htab->sgot->output_section->vma
2555 outrel.r_offset =
2557 rel->r_offset);
2558 if (outrel.r_offset == (bfd_vma) -1)
2560 else if (outrel.r_offset == (bfd_vma) -2)
2562 outrel.r_offset
[all...]
H A Delfxx-sparc.c599 bfd_vma *r_offset)
611 *r_offset = offset;
623 bfd_vma max, bfd_vma *r_offset)
633 *r_offset = offset;
694 *r_offset = (bfd_vma) (ptr - splt->contents);
1514 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset))
2565 _bfd_clear_contents (howto, input_bfd, contents + rel->r_offset);
2648 outrel.r_offset = (htab->sgot->output_section->vma
2794 outrel.r_offset =
2796 rel->r_offset);
596 sparc32_plt_entry_build(bfd *output_bfd, asection *splt, bfd_vma offset, bfd_vma max ATTRIBUTE_UNUSED, bfd_vma *r_offset) argument
621 sparc64_plt_entry_build(bfd *output_bfd, asection *splt, bfd_vma offset, bfd_vma max, bfd_vma *r_offset) argument
3649 bfd_vma r_offset, got_offset; local
[all...]
H A Delf64-mips.c1686 dst->r_offset = H_GET_64 (abfd, src->r_offset);
1701 dst->r_offset = H_GET_64 (abfd, src->r_offset);
1716 H_PUT_64 (abfd, src->r_offset, dst->r_offset);
1730 H_PUT_64 (abfd, src->r_offset, dst->r_offset);
1751 dst[0].r_offset = mirel.r_offset;
[all...]
H A Delf64-x86-64.c1132 if (!bfd_elf_gc_record_vtinherit (abfd, sec, h, rel->r_offset))
2121 _bfd_clear_contents (howto, input_bfd, contents + rel->r_offset);
2234 outrel.r_offset = (base_got->output_section->vma
2350 rel->r_offset)))
2410 outrel.r_offset =
2412 rel->r_offset);
2413 if (outrel.r_offset == (bfd_vma) -1)
2415 else if (outrel.r_offset == (bfd_vma) -2)
2418 outrel.r_offset += (input_section->output_section->vma
2538 BFD_ASSERT (rel->r_offset >
[all...]
/freebsd-10-stable/lib/libelf/
H A Dgelf_rel.c80 dst->r_offset = (Elf64_Addr) rel32->r_offset;
137 LIBELF_COPY_U32(rel32, dr, r_offset);
H A Dgelf_rela.c80 dst->r_offset = (Elf64_Addr) rela32->r_offset;
138 LIBELF_COPY_U32(rela32, dr, r_offset);
/freebsd-10-stable/libexec/rtld-elf/arm/
H A Dreloc.c49 dstaddr = (void *) (dstobj->relocbase + rel->r_offset);
107 size = (rellim - 1)->r_offset - rel->r_offset;
109 where = (Elf_Addr *)(relocbase + rel->r_offset);
148 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
302 (void *)rel->r_offset, (void *)load_ptr(where),
366 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
389 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
/freebsd-10-stable/sys/boot/efi/loader/arch/amd64/
H A Dreloc.c99 newaddr = (unsigned long *)(ImageBase + rel->r_offset);
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c237 rel->r_offset = s->dofs_offset +
249 rel->r_offset = s->dofs_offset +
258 rel->r_offset = s->dofs_offset +
432 rel->r_offset = s->dofs_offset +
437 rel->r_offset = s->dofs_offset +
442 rel->r_offset = s->dofs_offset +
853 if ((rela->r_offset & (sizeof (uint32_t) - 1)) != 0)
857 ip = (uint32_t *)(p + rela->r_offset);
888 ip[0], (u_longlong_t)rela->r_offset);
901 (u_longlong_t)rela->r_offset);
[all...]
/freebsd-10-stable/libexec/rtld-elf/i386/
H A Dreloc.c81 dstaddr = (void *) (dstobj->relocbase + rel->r_offset);
193 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
286 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
320 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
360 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
388 where = (Elf_Addr *)(obj->relocbase + rel->r_offset);
/freebsd-10-stable/libexec/rtld-elf/amd64/
H A Dreloc.c81 dstaddr = (void *) (dstobj->relocbase + rela->r_offset);
210 where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
330 where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
364 where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
408 where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
436 where = (Elf_Addr *)(obj->relocbase + rela->r_offset);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h319 elf_addr r_offset; ///< Address of reference. member in struct:elf::ELFRel
377 elf_addr r_offset; ///< Address of reference. member in struct:elf::ELFRela

Completed in 304 milliseconds

1234