Changeset View
Changeset View
Standalone View
Standalone View
head/libexec/rtld-elf/powerpc/reloc.c
Show First 20 Lines • Show All 396 Lines • ▼ Show 20 Lines | reloc_plt_object(Obj_Entry *obj, const Elf_Rela *rela) | ||||
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; | ||||
int N = obj->pltrelasize / sizeof(Elf_Rela); | int N = obj->pltrelasize / sizeof(Elf_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 + | ||||
▲ Show 20 Lines • Show All 275 Lines • Show Last 20 Lines |