Home
last modified time | relevance | path

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

/freebsd/libexec/rtld-elf/riscv/
H A Dreloc.c84 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
101 assert(dstobj->mainprog); in do_copy_relocations()
103 relalim = (const Elf_Rela *)((const char *)dstobj->rela + in do_copy_relocations()
104 dstobj->relasize); in do_copy_relocations()
105 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
109 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
110 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
111 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
115 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
118 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]
/freebsd/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/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/libexec/rtld-elf/arm/
H A Dreloc.c29 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
34 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations()
36 rellim = (const Elf_Rel *)((const char *) dstobj->rel + dstobj->relsize); in do_copy_relocations()
37 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations()
49 dstaddr = (void *)(dstobj->relocbase + rel->r_offset); in do_copy_relocations()
50 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info); in do_copy_relocations()
51 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
55 req.ventry = fetch_ventry(dstobj, in do_copy_relocations()
59 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
71 name, dstobj->path); in do_copy_relocations()
/freebsd/libexec/rtld-elf/aarch64/
H A Dreloc.c124 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
141 assert(dstobj->mainprog); in do_copy_relocations()
143 relalim = (const Elf_Rela *)((const char *)dstobj->rela + in do_copy_relocations()
144 dstobj->relasize); in do_copy_relocations()
145 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
149 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
150 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
151 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
155 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
158 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]
/freebsd/libexec/rtld-elf/powerpc64/
H A Dreloc.c70 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument
78 assert(dstobj->mainprog); in do_copy_relocations()
80 relalim = (const Elf_Rela *)((const char *) dstobj->rela + in do_copy_relocations()
81 dstobj->relasize); in do_copy_relocations()
82 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations()
97 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
98 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
99 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
102 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
105 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]
/freebsd/libexec/rtld-elf/powerpc/
H A Dreloc.c75 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()
102 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations()
103 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations()
104 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations()
107 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations()
110 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations()
[all …]