Changeset View
Changeset View
Standalone View
Standalone View
head/libexec/rtld-elf/powerpc64/reloc.c
Show First 20 Lines • Show All 370 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_Rela *relalim; | const Elf_Rela *relalim; | ||||
const Elf_Rela *rela; | const Elf_Rela *rela; | ||||
if (obj->pltrelasize != 0) { | if (obj->pltrelasize != 0) { | ||||
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++) { | ||||
▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines |