Changeset View
Changeset View
Standalone View
Standalone View
head/libexec/rtld-elf/riscv/reloc.c
Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | "Undefined symbol \"%s\" referenced from COPY relocation in %s", | ||||
return (0); | return (0); | ||||
} | } | ||||
/* | /* | ||||
* Process the PLT relocations. | * Process the PLT relocations. | ||||
*/ | */ | ||||
int | int | ||||
reloc_plt(Obj_Entry *obj) | reloc_plt(Obj_Entry *obj, int flags __unused, RtldLockState *lockstate __unused) | ||||
{ | { | ||||
const Elf_Rela *relalim; | const Elf_Rela *relalim; | ||||
const Elf_Rela *rela; | const Elf_Rela *rela; | ||||
relalim = (const Elf_Rela *)((const char *)obj->pltrela + | relalim = (const Elf_Rela *)((const char *)obj->pltrela + | ||||
obj->pltrelasize); | obj->pltrelasize); | ||||
for (rela = obj->pltrela; rela < relalim; rela++) { | for (rela = obj->pltrela; rela < relalim; rela++) { | ||||
Elf_Addr *where; | Elf_Addr *where; | ||||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |