Elf_Rel
Elf_Rel *reltab;
for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
Elf_Rel *rel = &sec->reltab[j];
static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
Elf_Rel *rel = &sec->reltab[j];
static int do_reloc(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
for (j = 0; j < sec->shdr.sh_size / sizeof(Elf_Rel); j++) {
Elf_Rel *rel = &sec->reltab[j];
static int do_reloc(struct section *sec, Elf_Rel *rel)
for (j = 0; j < sec->shdr.sh_size / sizeof(Elf_Rel); j++) {
Elf_Rel *rel = &sec->reltab[j];
Elf_Rel *reltab;
static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
Elf_Rel *reltab;
for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
Elf_Rel *rel = &sec->reltab[j];
for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
Elf_Rel *rel;
static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
for (j = 0; j < sec->shdr.sh_size/sizeof(Elf_Rel); j++) {
Elf_Rel *rel = &sec->reltab[j];
static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
static int do_reloc32(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
static int do_reloc_real(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname)
int (*do_reloc)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname);
const Elf_Rel *start, const Elf_Rel *stop)
const Elf_Rel *rel;
static int fn_is_fake_mcount(Elf_Rel const *rp)
static int (*is_fake_mcount)(Elf_Rel const *rp) = fn_is_fake_mcount;
static uint_t fn_ELF_R_SYM(Elf_Rel const *rp)
static uint_t (*Elf_r_sym)(Elf_Rel const *rp) = fn_ELF_R_SYM;
static void fn_ELF_R_INFO(Elf_Rel *const rp, unsigned sym, unsigned type)
static void (*Elf_r_info)(Elf_Rel *const rp, unsigned sym, unsigned type) = fn_ELF_R_INFO;
static int MIPS_is_fake_mcount(Elf_Rel const *rp)
Elf_Rel const *const mrel0,
Elf_Rel const *const mrelp,
Elf_Rel const *relp,
Elf_Rel const **relp)
Elf_Rel const *const rel0 = (Elf_Rel const *)(_w(relhdr->sh_offset)
Elf_Rel **const mrelpp,
Elf_Rel *mrelp = *mrelpp;
Elf_Rel const *relp;
mrelp = (Elf_Rel *)(rel_entsize + (void *)mrelp);
relp = (Elf_Rel const *)(rel_entsize + (void *)relp);
Elf_Rel const *relp;
Elf_Rel rel;
rel = *(Elf_Rel *)relp;
relp = (Elf_Rel const *)(rel_entsize + (void *)relp);
Elf_Rel * mrel0;
Elf_Rel * mrelp;