• Home
  • Raw
  • Download

Lines Matching refs:symref

86       struct symbol **symref;  in elf_i386_relocate_section()  local
115 symref = file->symref; in elf_i386_relocate_section()
137 assert (symref[XELF_R_SYM (rel->r_info)] != NULL); in elf_i386_relocate_section()
138 si = symref[XELF_R_SYM (rel->r_info)]->outsymidx; in elf_i386_relocate_section()
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()
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()
759 struct symbol **symref = runp->fileinfo->symref; in elf_i386_create_relocations() local
797 if (symref[idx] == NULL) in elf_i386_create_relocations()
801 value = symref[idx]->merge.value; in elf_i386_create_relocations()
802 if (symref[idx]->in_dso) in elf_i386_create_relocations()
806 assert (value != 0 || symref[idx]->type != STT_FUNC); in elf_i386_create_relocations()
831 && symref[idx]->type != STT_FUNC) in elf_i386_create_relocations()
834 + symref[idx]->merge.value); in elf_i386_create_relocations()
836 if (unlikely (symref[idx]->need_copy)) in elf_i386_create_relocations()
839 assert (symref[idx]->outdynsymidx != 0); in elf_i386_create_relocations()
847 = XELF_R_INFO (symref[idx]->outdynsymidx, R_386_COPY); in elf_i386_create_relocations()
854 Elf32_Word symidx = symref[idx]->outdynsymidx; in elf_i386_create_relocations()
865 symidx = symref[idx]->outsymidx; in elf_i386_create_relocations()
880 symref[idx]->need_copy = 0; in elf_i386_create_relocations()
896 || symref[idx]->outdynsymidx == 0) in elf_i386_create_relocations()
900 = XELF_R_INFO (symref[idx]->outdynsymidx, R_386_32); in elf_i386_create_relocations()
911 if (! symref[idx]->defined || symref[idx]->in_dso) in elf_i386_create_relocations()
925 = XELF_R_INFO (symref[idx]->outdynsymidx, R_386_GLOB_DAT); in elf_i386_create_relocations()
957 value = symref[idx]->merge.value - ld_state.tls_tcb; in elf_i386_create_relocations()
962 if (symref[idx]->defined && !symref[idx]->in_dso) in elf_i386_create_relocations()
974 store_4ubyte_unaligned (relloc, (symref[idx]->merge.value in elf_i386_create_relocations()
989 value = symref[idx]->merge.value - ld_state.tls_start; in elf_i386_create_relocations()
996 if (symref[idx]->defined && !symref[idx]->in_dso) in elf_i386_create_relocations()
1020 value = ld_state.tls_tcb- symref[idx]->merge.value; in elf_i386_create_relocations()
1033 assert (strcmp (symref[idx]->name, "___tls_get_addr") in elf_i386_create_relocations()