| /freebsd-12.1/libexec/rtld-elf/riscv/ |
| H A D | reloc.c | 87 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument 104 assert(dstobj->mainprog); in do_copy_relocations() 106 relalim = (const Elf_Rela *)((const char *)dstobj->rela + in do_copy_relocations() 107 dstobj->relasize); in do_copy_relocations() 108 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations() 112 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations() 113 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations() 114 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations() 118 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations() 121 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations() [all …]
|
| /freebsd-12.1/libexec/rtld-elf/amd64/ |
| H A D | reloc.c | 64 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument 69 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations() 71 relalim = (const Elf_Rela *)((const char *) dstobj->rela + dstobj->relasize); in do_copy_relocations() 72 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations() 84 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations() 85 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations() 86 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations() 89 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations() 92 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations() 104 " relocation in %s", name, dstobj->path); in do_copy_relocations()
|
| /freebsd-12.1/libexec/rtld-elf/powerpc64/ |
| H A D | reloc.c | 60 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument 68 assert(dstobj->mainprog); in do_copy_relocations() 70 relalim = (const Elf_Rela *)((const char *) dstobj->rela + in do_copy_relocations() 71 dstobj->relasize); in do_copy_relocations() 72 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations() 87 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations() 88 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations() 89 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations() 92 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations() 95 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations() [all …]
|
| /freebsd-12.1/libexec/rtld-elf/i386/ |
| H A D | reloc.c | 63 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 rellim = (const Elf_Rel *)((const char *)dstobj->rel + dstobj->relsize); in do_copy_relocations() 71 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations() 83 dstaddr = (void *)(dstobj->relocbase + rel->r_offset); in do_copy_relocations() 84 dstsym = dstobj->symtab + ELF_R_SYM(rel->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(rel->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-12.1/libexec/rtld-elf/arm/ |
| H A D | reloc.c | 71 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument 76 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations() 78 rellim = (const Elf_Rel *)((const char *) dstobj->rel + dstobj->relsize); in do_copy_relocations() 79 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations() 91 dstaddr = (void *)(dstobj->relocbase + rel->r_offset); in do_copy_relocations() 92 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info); in do_copy_relocations() 93 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations() 97 req.ventry = fetch_ventry(dstobj, in do_copy_relocations() 101 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations() 113 name, dstobj->path); in do_copy_relocations()
|
| /freebsd-12.1/libexec/rtld-elf/aarch64/ |
| H A D | reloc.c | 69 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument 86 assert(dstobj->mainprog); in do_copy_relocations() 88 relalim = (const Elf_Rela *)((const char *)dstobj->rela + in do_copy_relocations() 89 dstobj->relasize); in do_copy_relocations() 90 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations() 94 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations() 95 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations() 96 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations() 100 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rela->r_info)); in do_copy_relocations() 103 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations() [all …]
|
| /freebsd-12.1/libexec/rtld-elf/powerpc/ |
| H A D | reloc.c | 64 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 …]
|
| /freebsd-12.1/libexec/rtld-elf/mips/ |
| H A D | reloc.c | 110 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument 127 assert(dstobj->mainprog); in do_copy_relocations() 129 rellim = (const Elf_Rel *)((const char *)dstobj->rel + dstobj->relsize); in do_copy_relocations() 130 for (rel = dstobj->rel; rel < rellim; rel++) { in do_copy_relocations() 134 dstaddr = (void *)(dstobj->relocbase + rel->r_offset); in do_copy_relocations() 135 dstsym = dstobj->symtab + ELF_R_SYM(rel->r_info); in do_copy_relocations() 136 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations() 140 req.ventry = fetch_ventry(dstobj, ELF_R_SYM(rel->r_info)); in do_copy_relocations() 143 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations() 155 name, dstobj->path); in do_copy_relocations()
|
| /freebsd-12.1/libexec/rtld-elf/sparc64/ |
| H A D | reloc.c | 243 do_copy_relocations(Obj_Entry *dstobj) in do_copy_relocations() argument 257 assert(dstobj->mainprog); /* COPY relocations are invalid elsewhere */ in do_copy_relocations() 259 relalim = (const Elf_Rela *)((const char *)dstobj->rela + dstobj->relasize); in do_copy_relocations() 260 for (rela = dstobj->rela; rela < relalim; rela++) { in do_copy_relocations() 262 dstaddr = (void *)(dstobj->relocbase + rela->r_offset); in do_copy_relocations() 263 dstsym = dstobj->symtab + ELF_R_SYM(rela->r_info); in do_copy_relocations() 264 name = dstobj->strtab + dstsym->st_name; in do_copy_relocations() 267 req.ventry = fetch_ventry(dstobj, in do_copy_relocations() 271 for (srcobj = globallist_next(dstobj); srcobj != NULL; in do_copy_relocations() 283 "in %s", name, dstobj->path); in do_copy_relocations()
|