Searched refs:rel (Results 1 - 25 of 159) sorted by relevance

1234567

/freebsd-11-stable/libexec/rtld-elf/amd64/
H A Delf_rtld.x19 .rel.text :
20 { *(.rel.text) *(.rel.gnu.linkonce.t*) }
23 .rel.data :
24 { *(.rel.data) *(.rel.gnu.linkonce.d*) }
27 .rel.rodata :
28 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
31 .rel
[all...]
/freebsd-11-stable/libexec/rtld-elf/i386/
H A Delf_rtld.x19 .rel.text :
20 { *(.rel.text) *(.rel.gnu.linkonce.t*) }
23 .rel.data :
24 { *(.rel.data) *(.rel.gnu.linkonce.d*) }
27 .rel.rodata :
28 { *(.rel.rodata) *(.rel.gnu.linkonce.r*) }
31 .rel
[all...]
H A Dreloc.c64 const Elf_Rel *rel; local
68 rellim = (const Elf_Rel *) ((caddr_t) dstobj->rel + dstobj->relsize);
69 for (rel = dstobj->rel; rel < rellim; rel++) {
70 if (ELF_R_TYPE(rel->r_info) == R_386_COPY) {
81 dstaddr = (void *) (dstobj->relocbase + rel->r_offset);
82 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info);
86 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rel
129 const Elf_Rel *rel; local
277 const Elf_Rel *rel; local
308 const Elf_Rel *rel; local
349 reloc_jmpslot(Elf_Addr *where, Elf_Addr target, const struct Struct_Obj_Entry *obj, const struct Struct_Obj_Entry *refobj, const Elf_Rel *rel) argument
365 const Elf_Rel *rel; local
390 const Elf_Rel *rel; local
[all...]
/freebsd-11-stable/contrib/binutils/ld/emulparams/
H A Darmelf_fbsd.sh3 TARGET2_TYPE=got-rel
H A Darmelf_nbsd.sh4 TARGET2_TYPE=got-rel
H A Darmelf_linux.sh21 TARGET2_TYPE=got-rel
/freebsd-11-stable/libexec/rtld-elf/arm/
H A Dreloc.c77 const Elf_Rel *rel; local
81 rellim = (const Elf_Rel *) ((caddr_t) dstobj->rel + dstobj->relsize);
82 for (rel = dstobj->rel; rel < rellim; rel++) {
83 if (ELF_R_TYPE(rel->r_info) == R_ARM_COPY) {
94 dstaddr = (void *) (dstobj->relocbase + rel->r_offset);
95 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info);
101 ELF_R_SYM(rel
136 const Elf_Rel *rel = NULL, *rellim; local
184 reloc_nonplt_object(Obj_Entry *obj, const Elf_Rel *rel, SymCache *cache, int flags, RtldLockState *lockstate) argument
363 const Elf_Rel *rel; local
400 const Elf_Rel *rel; local
424 const Elf_Rel *rel; local
468 reloc_jmpslot(Elf_Addr *where, Elf_Addr target, const Obj_Entry *defobj, const Obj_Entry *obj, const Elf_Rel *rel) argument
[all...]
/freebsd-11-stable/gnu/usr.bin/binutils/ld/
H A Darmelf_fbsd.sh4 TARGET2_TYPE=got-rel
H A Darmelfb_fbsd.sh8 TARGET2_TYPE=got-rel
/freebsd-11-stable/stand/common/
H A Dself_reloc.c70 ElfW_Rel *rel; local
82 rel = (ElfW_Rel *)(dynp->d_un.d_ptr + baseaddr);
103 switch (ELFW_R_TYPE(rel->r_info)) {
109 newaddr = (Elf_Addr *)(rel->r_offset + baseaddr);
112 *newaddr = baseaddr + rel->r_addend;
122 rel = (ElfW_Rel *)(void *)((caddr_t) rel + relent);
H A Dreloc_elf.c84 const Elf_Rel *rel;
89 rel = (const Elf_Rel *)reldata;
90 where = (Elf_Addr *)((char *)data + relbase + rel->r_offset -
93 rtype = ELF_R_TYPE(rel->r_info);
94 symidx = ELF_R_SYM(rel->r_info);
145 const Elf_Rel *rel;
150 rel = (const Elf_Rel *)reldata;
151 where = (Elf_Addr *)((char *)data + relbase + rel->r_offset -
154 rtype = ELF_R_TYPE(rel->r_info);
155 symidx = ELF_R_SYM(rel
[all...]
/freebsd-11-stable/libexec/rtld-elf/
H A Ddebug.c80 dump_Elf_Rel(obj, obj->rel, obj->relsize);
105 const Elf_Rel *rel; local
112 for (rel = rel0; rel < rellim; rel++) {
113 dstaddr = (Elf_Addr *)(obj->relocbase + rel->r_offset);
114 sym = obj->symtab + ELF_R_SYM(rel->r_info);
117 (u_long)rel->r_info, (u_long)rel->r_offset,
/freebsd-11-stable/usr.sbin/kldxref/
H A Def_i386.c51 const Elf_Rel *rel; local
57 rel = (const Elf_Rel *)reldata;
58 where = (Elf_Addr *)(dest + relbase + rel->r_offset - dataoff);
60 rtype = ELF_R_TYPE(rel->r_info);
61 symidx = ELF_R_SYM(rel->r_info);
H A Def_amd64.c53 const Elf_Rel *rel; local
58 rel = (const Elf_Rel *)reldata;
59 where = (Elf_Addr *)(dest + relbase + rel->r_offset - dataoff);
61 rtype = ELF_R_TYPE(rel->r_info);
62 symidx = ELF_R_SYM(rel->r_info);
/freebsd-11-stable/contrib/ntp/html/hints/
H A Dsolaris.xtra.patchfreq49 rel=`echo utsname+202?s | adb $kernel | cut -d: -f2`
51 if [ ! $rel = "5.5" ] && [ ! $rel = "5.5.1" ]; then
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dkref.h70 kref_put(struct kref *kref, void (*rel)(struct kref *kref))
74 rel(kref);
82 void (*rel)(struct kref *kref))
87 rel(kref);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h328 static unsigned RelocType32(const ELFRel &rel) { return rel.r_info & 0x0ff; } argument
331 static unsigned RelocType64(const ELFRel &rel) { argument
332 return rel.r_info & 0xffffffff;
337 static unsigned RelocSymbol32(const ELFRel &rel) { return rel.r_info >> 8; } argument
341 static unsigned RelocSymbol64(const ELFRel &rel) { return rel.r_info >> 32; } argument
/freebsd-11-stable/contrib/llvm-project/lld/ELF/
H A DRelocations.h142 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel,
148 bool normalizeExistingThunk(Relocation &rel, uint64_t src);
176 static inline int64_t getAddend(const typename ELFT::Rel &rel) { argument
180 static inline int64_t getAddend(const typename ELFT::Rela &rel) { argument
181 return rel.r_addend;
H A DMarkLive.cpp59 void resolveReloc(InputSectionBase &sec, RelTy &rel, bool isLSDA);
78 const typename ELFT::Rel &rel) {
79 return target->getImplicitAddend(sec.data().begin() + rel.r_offset,
80 rel.getType(config->isMips64EL));
85 const typename ELFT::Rela &rel) {
86 return rel.r_addend;
91 void MarkLive<ELFT>::resolveReloc(InputSectionBase &sec, RelTy &rel, argument
93 Symbol &sym = sec.getFile<ELFT>()->getRelocTargetSym(rel);
105 offset += getAddend<ELFT>(sec, rel);
278 for (const typename ELFT::Rela &rel
77 getAddend(InputSectionBase &sec, const typename ELFT::Rel &rel) argument
84 getAddend(InputSectionBase &sec, const typename ELFT::Rela &rel) argument
[all...]
H A DRelocations.cpp516 // Reserve space in .bss or .bss.rel.ro for copy relocation.
565 // memory protection by reserving space in the .bss.rel.ro section.
568 make<BssSection>(isRO ? ".bss.rel.ro" : ".bss", symSize, ss.alignment);
594 static int64_t computeMipsAddend(const RelTy &rel, const RelTy *end, argument
605 RelType type = rel.getType(config->isMips64EL);
611 uint32_t symIndex = rel.getSymbol(config->isMips64EL);
615 for (const RelTy *ri = &rel; ri != end; ++ri)
629 static int64_t computeAddend(const RelTy &rel, const RelTy *end, argument
633 RelType type = rel.getType(config->isMips64EL);
636 addend = getAddend<ELFT>(rel);
949 getMipsN32RelType(RelTy *&rel, RelTy *end) argument
1026 addPltEntry(PltSection *plt, GotPltSection *gotPlt, RelocationBaseSection *rel, RelType type, Symbol &sym) argument
1099 processRelocAux(InputSectionBase &sec, RelExpr expr, RelType type, uint64_t offset, Symbol &sym, const RelTy &rel, int64_t addend) argument
1117 RelType rel = target->getDynRel(type); local
1246 const RelTy &rel = *i; local
1823 getThunk(InputSection *isec, Relocation &rel, uint64_t src) argument
1859 normalizeExistingThunk(Relocation &rel, uint64_t src) argument
[all...]
/freebsd-11-stable/libexec/rtld-elf/mips/
H A Dreloc.c144 const Elf_Rel *rel = NULL, *rellim; local
155 rel = (const Elf_Rel *)(relocbase + dynp->d_un.d_ptr);
193 rellim = (const Elf_Rel *)((caddr_t)rel + relsz);
194 for (; rel < rellim; rel++) {
197 where = (void *)(relocbase + rel->r_offset);
199 r_symndx = ELF_R_SYM(rel->r_info);
200 r_type = ELF_R_TYPE(rel->r_info);
272 const Elf_Rel *rel; local
398 rellim = (const Elf_Rel *)((caddr_t)obj->rel
619 reloc_jmpslot(Elf_Addr *where, Elf_Addr target, const Obj_Entry *defobj, const Obj_Entry *obj, const Elf_Rel *rel) argument
[all...]
/freebsd-11-stable/usr.bin/rpcgen/
H A Drpc_cout.c146 def->def.ty.rel));
213 print_ifstat(int indent, const char *prefix, const char *type, relation rel, argument
219 switch (rel) {
336 if (isvectordef (cs->type, cs->rel)) {
343 print_ifstat(2, cs->prefix, cs->type, cs->rel,
355 if (isvectordef (dflt->type, dflt->rel)) {
363 print_ifstat(2, dflt->prefix, dflt->type, dflt->rel,
404 ((dl->decl.rel == REL_ALIAS) ||
405 (dl->decl.rel == REL_VECTOR))){
410 if (dl->decl.rel
614 relation rel = def->def.ty.rel; local
625 relation rel = dec->rel; local
668 emit_single_in_line(int indent, declaration *decl, int flag, relation rel) argument
[all...]
/freebsd-11-stable/contrib/binutils/bfd/
H A Dmep-relocs.pl50 if (($pre,$rel,$rest) = /(.*RELOC_NUMBER \()([^,]+), *\d+(.*)/) {
52 print (MEPHO "$pre$rel, $val$rest\n") || die("mep.h.new write: $!");
54 $rel =~ s/R_MEP_//;
55 push(@relocs, $rel);
64 printf "%4d $rel p=`$pattern' s=`$sign' a=`$attrs'\n", $#pattern;
136 $pcrel = 1 if $attrs[$i] =~ /pc-rel/i;
158 if ($attrs[$i] =~ /tp-rel/i) {
159 print NEW " $v -= mep_tpoff_base(rel->r_offset);\n";
161 if ($attrs[$i] =~ /gp-rel/i) {
162 print NEW " $v -= mep_sdaoff_base(rel
[all...]
H A Delf32-i386.c558 /* On VxWorks, the .rel.plt.unloaded section has absolute relocations
666 /* The (unloaded but important) .rel.plt.unloaded section on VxWorks. */
675 /* The index of the next unused R_386_TLS_DESC slot in .rel.plt. */
768 /* Create .got, .gotplt, and .rel.got sections in DYNOBJ, and set up
785 htab->srelgot = bfd_make_section_with_flags (dynobj, ".rel.got",
797 /* Create .plt, .rel.plt, .got, .got.plt, .rel.got, .dynbss, and
798 .rel.bss sections in DYNOBJ, and set up shortcuts to them in our
814 htab->srelplt = bfd_get_section_by_name (dynobj, ".rel.plt");
817 htab->srelbss = bfd_get_section_by_name (dynobj, ".rel
935 const Elf_Internal_Rela *rel; local
1295 elf_i386_gc_mark_hook(asection *sec, struct bfd_link_info *info, Elf_Internal_Rela *rel, struct elf_link_hash_entry *h, Elf_Internal_Sym *sym) argument
1323 const Elf_Internal_Rela *rel, *relend; local
2214 Elf_Internal_Rela *rel; local
3374 Elf_Internal_Rela rel; local
3493 Elf_Internal_Rela rel; local
3532 Elf_Internal_Rela rel; local
3691 Elf_Internal_Rela rel; local
3732 Elf_Internal_Rela rel; local
[all...]
H A Delf32-mep.c238 Elf_Internal_Rela * rel,
261 + rel->r_offset);
263 s = relocation + rel->r_addend;
265 byte = (unsigned char *)contents + rel->r_offset;
342 s -= mep_sdaoff_base(rel->r_offset);
348 s -= mep_tpoff_base(rel->r_offset);
354 u -= mep_tpoff_base(rel->r_offset);
359 u -= mep_tpoff_base(rel->r_offset);
364 u -= mep_tpoff_base(rel->r_offset);
421 const Elf_Internal_Rela * rel;
230 mep_final_link_relocate(reloc_howto_type * howto, bfd * input_bfd, asection * input_section, bfd_byte * contents, Elf_Internal_Rela * rel, bfd_vma relocation) argument
417 const Elf_Internal_Rela * rel; local
491 Elf_Internal_Rela * rel; local
694 mep_elf_gc_mark_hook(asection * sec, struct bfd_link_info * info ATTRIBUTE_UNUSED, Elf_Internal_Rela * rel, struct elf_link_hash_entry * h, Elf_Internal_Sym * sym) argument
[all...]

Completed in 251 milliseconds

1234567