Home
last modified time | relevance | path

Searched refs:dstobj (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/libexec/rtld-elf/riscv/
H A Dreloc.c85 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
102 assert(dstobj->mainprog); in do_copy_relocations()
104 relalim = (const Elf_Rela *)((const char *)dstobj->rela + in do_copy_relocations()
105 dstobj->relasize); in do_copy_relocations()
106 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
110 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
111 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
112 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
116 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
119 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]
/freebsd-14.2/libexec/rtld-elf/amd64/
H A Dreloc.c63 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
68 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations()
70 relalim = (const Elf_Rela *)((const char *) dstobj->rela + dstobj->relasize); in do_copy_relocations()
71 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
83 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
84 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
85 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
88 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
91 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
103 " relocation in %s", name, dstobj->path); in do_copy_relocations()
/freebsd-14.2/libexec/rtld-elf/arm/
H A Dreloc.c30 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
35 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations()
37 rellim = (const Elf_Rel *)((const char *) dstobj->rel + dstobj->relsize); in do_copy_relocations()
38 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations()
50 dstaddr = (void *)(dstobj->relocbase + rel->r_offset); in do_copy_relocations()
51 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info); in do_copy_relocations()
52 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
56 req.ventry = fetch_ventry(dstobj, in do_copy_relocations()
60 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
72 name, dstobj->path); in do_copy_relocations()
/freebsd-14.2/libexec/rtld-elf/i386/
H A Dreloc.c61 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
66 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations()
68 rellim = (const Elf_Rel *)((const char *)dstobj->rel + dstobj->relsize); in do_copy_relocations()
69 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations()
81 dstaddr = (void *)(dstobj->relocbase + rel->r_offset); in do_copy_relocations()
82 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info); in do_copy_relocations()
83 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
86 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rel->r_info)); in do_copy_relocations()
89 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
101 " relocation in %s", name, dstobj->path); in do_copy_relocations()
/freebsd-14.2/libexec/rtld-elf/aarch64/
H A Dreloc.c66 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
83 assert(dstobj->mainprog); in do_copy_relocations()
85 relalim = (const Elf_Rela *)((const char *)dstobj->rela + in do_copy_relocations()
86 dstobj->relasize); in do_copy_relocations()
87 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
91 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
92 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
93 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
97 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
100 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]
/freebsd-14.2/libexec/rtld-elf/powerpc64/
H A Dreloc.c59 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
67 assert(dstobj->mainprog); in do_copy_relocations()
69 relalim = (const Elf_Rela *)((const char *) dstobj->rela + in do_copy_relocations()
70 dstobj->relasize); in do_copy_relocations()
71 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
86 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
87 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
88 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
91 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
94 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]
/freebsd-14.2/libexec/rtld-elf/powerpc/
H A Dreloc.c64 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
72 assert(dstobj->mainprog); in do_copy_relocations()
74 relalim = (const Elf_Rela *)((const char *) dstobj->rela + in do_copy_relocations()
75 dstobj->relasize); in do_copy_relocations()
76 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
91 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
92 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
93 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
96 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
99 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]