• Home
  • Raw
  • Download

Lines Matching refs:scninfo

68 			   Elf_Scn *outscn, struct scninfo *firstp,  in elf_i386_relocate_section()
71 struct scninfo *runp; in elf_i386_relocate_section()
97 reltgtdata = elf_getdata (file->scninfo[shdr->sh_info].scn, NULL); in elf_i386_relocate_section()
101 insymdata = elf_getdata (file->scninfo[shdr->sh_link].scn, NULL); in elf_i386_relocate_section()
168 Elf32_Word toadd = file->scninfo[xndx].offset; in elf_i386_relocate_section()
176 rel->r_offset += file->scninfo[shdr->sh_info].offset; in elf_i386_relocate_section()
531 elf_i386_count_relocations (struct ld_state *statep, struct scninfo *scninfo) in elf_i386_count_relocations() argument
537 Elf_Data *data = elf_getdata (scninfo->scn, NULL); in elf_i386_count_relocations()
538 XElf_Shdr *shdr = &SCNINFO_SHDR (scninfo->shdr); in elf_i386_count_relocations()
558 if (r_sym >= scninfo->fileinfo->nlocalsymbols in elf_i386_count_relocations()
559 && unlikely (scninfo->fileinfo->symref[r_sym] == NULL)) in elf_i386_count_relocations()
565 if (! scninfo->fileinfo->symref[r_sym]->defined in elf_i386_count_relocations()
566 || scninfo->fileinfo->symref[r_sym]->in_dso in elf_i386_count_relocations()
587 if (linked_from_dso_p (scninfo, r_sym)) in elf_i386_count_relocations()
600 sym = scninfo->fileinfo->symref[r_sym]; in elf_i386_count_relocations()
628 if (! scninfo->fileinfo->symref[r_sym]->defined in elf_i386_count_relocations()
631 sym = scninfo->fileinfo->symref[r_sym]; in elf_i386_count_relocations()
662 if (!scninfo->fileinfo->symref[r_sym]->defined in elf_i386_count_relocations()
663 || scninfo->fileinfo->symref[r_sym]->in_dso) in elf_i386_count_relocations()
671 || !scninfo->fileinfo->symref[r_sym]->defined in elf_i386_count_relocations()
672 || scninfo->fileinfo->symref[r_sym]->in_dso) in elf_i386_count_relocations()
714 scninfo->relsize = relsize; in elf_i386_count_relocations()
749 struct scninfo *first = statep->rellist->next; in elf_i386_create_relocations()
750 struct scninfo *runp = first; in elf_i386_create_relocations()
760 struct scninfo *scninfo = runp->fileinfo->scninfo; in elf_i386_create_relocations() local
764 XElf_Addr inscnoffset = scninfo[rshdr->sh_info].offset; in elf_i386_create_relocations()
767 Elf_Data *data = elf_getdata (scninfo[rshdr->sh_info].scn, NULL); in elf_i386_create_relocations()
770 assert ((SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_flags in elf_i386_create_relocations()
774 Elf_Data *symdata = elf_getdata (scninfo[rshdr->sh_link].scn, NULL); in elf_i386_create_relocations()
793 value = scninfo[sym->st_shndx].offset + sym->st_value; in elf_i386_create_relocations()
829 if (linked_from_dso_p (scninfo, idx) in elf_i386_create_relocations()
895 if (idx < SCNINFO_SHDR (scninfo[rshdr->sh_link].shdr).sh_info in elf_i386_create_relocations()