Changeset View
Changeset View
Standalone View
Standalone View
head/libexec/rtld-elf/mips/reloc.c
Show First 20 Lines • Show All 646 Lines • ▼ Show 20 Lines | #endif | ||||
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_Rel *rellim; | const Elf_Rel *rellim; | ||||
const Elf_Rel *rel; | const Elf_Rel *rel; | ||||
rellim = (const Elf_Rel *)((const char *)obj->pltrel + obj->pltrelsize); | rellim = (const Elf_Rel *)((const char *)obj->pltrel + 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 178 Lines • Show Last 20 Lines |