Lines Matching refs:contents

539 	char *contents;  member
807 ElfW(Addr) *loc = (ElfW(Addr) *) (targsec->contents + rel->r_offset); in arch_apply_relocation()
1368 ip = (unsigned long *)(ifile->plt->contents + pe->offset); in arch_apply_relocation()
1405 *(ElfW(Addr) *)(ifile->got->contents + isym->gotent.offset) = v; in arch_apply_relocation()
1580 *(Elf64_Addr *)(ifile->got->contents + isym->gotent.offset) = v; in arch_apply_relocation()
1613 ip = (unsigned long *) (ifile->plt->contents + pe->offset); in arch_apply_relocation()
1684 *(ElfW(Addr) *) (ifile->got->contents + isym->gotent.offset) = v; in arch_apply_relocation()
1792 rel = (ElfW(RelM) *) relsec->contents; in arch_create_got()
1794 symtab = (ElfW(Sym) *) symsec->contents; in arch_create_got()
1795 strtab = (const char *) strsec->contents; in arch_create_got()
2182 sec->contents = xzalloc(size); in helper_create_alloced_section()
2220 sec->contents = xrealloc(sec->contents, sec->header.sh_size); in obj_extend_section()
2222 return sec->contents + oldsize; in obj_extend_section()
2339 p = sec->contents; in get_modinfo_value()
2423 char *tmp, *contents, *loc, *pinfo, *p; in new_process_module_arguments() local
2455 contents = f->sections[sym->secidx]->contents; in new_process_module_arguments()
2456 loc = contents + sym->value; in new_process_module_arguments()
2488 loc - contents, p); in new_process_module_arguments()
2759 dep = (struct new_module_ref *) sec->contents; in new_create_module_ksymtab()
2764 (char *) &dep->ref - sec->contents, tm); in new_create_module_ksymtab()
2818 if (!sec || !sec->contents) { in new_init_module()
2821 module = (struct new_module *) sec->contents; in new_init_module()
2909 loc = strsec->contents; in obj_string_patch()
3047 s->contents = NULL; in obj_allocate_commons()
3049 s->contents = xzalloc(s->header.sh_size); in obj_allocate_commons()
3103 rel = (ElfW(RelM) *) relsec->contents; in obj_relocate()
3105 symtab = (ElfW(Sym) *) symsec->contents; in obj_relocate()
3106 strtab = (const char *) strsec->contents; in obj_relocate()
3189 *(ElfW(Addr) *) (targsec->contents + p->reloc_offset) in obj_relocate()
3199 *(ElfW(Addr) *) (targsec->contents + p->reloc_offset) in obj_relocate()
3215 if (sec->contents == 0 || sec->header.sh_size == 0) in obj_create_image()
3221 memcpy(secimg, sec->contents, sec->header.sh_size); in obj_create_image()
3306 sec->contents = NULL; in obj_load()
3316 sec->contents = NULL; in obj_load()
3318 sec->contents = xmalloc(sec->header.sh_size); in obj_load()
3321 memcpy(sec->contents, image + sec->header.sh_offset, sec->header.sh_size); in obj_load()
3348 shstrtab = f->sections[f->header.e_shstrndx]->contents; in obj_load()
3381 strtab = f->sections[sec->header.sh_link]->contents; in obj_load()
3382 sym = (ElfW(Sym) *) sec->contents; in obj_load()
3444 if (sec->contents != NULL) in obj_load_progbits()
3448 sec->contents = imagebase + (sec->header.sh_addr - base); in obj_load_progbits()
3453 memcpy(sec->contents, image + sec->header.sh_offset, sec->header.sh_size); in obj_load_progbits()
3498 ptr = sec->contents; in obj_gpl_license()