Changeset View
Changeset View
Standalone View
Standalone View
head/libexec/rtld-elf/arm/reloc.c
Show First 20 Lines • Show All 383 Lines • ▼ Show 20 Lines | if (cache != NULL) | ||||
free(cache); | free(cache); | ||||
return (r); | return (r); | ||||
} | } | ||||
/* | /* | ||||
* * 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_Rel *rellim; | const Elf_Rel *rellim; | ||||
const Elf_Rel *rel; | const Elf_Rel *rel; | ||||
rellim = (const Elf_Rel *)((const char *)obj->pltrel + | rellim = (const Elf_Rel *)((const char *)obj->pltrel + | ||||
obj->pltrelsize); | obj->pltrelsize); | ||||
for (rel = obj->pltrel; rel < rellim; rel++) { | for (rel = obj->pltrel; rel < rellim; rel++) { | ||||
Elf_Addr *where; | Elf_Addr *where; | ||||
▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines |