Home
last modified time | relevance | path

Searched refs:indx (Results 1 – 25 of 94) sorted by relevance

1234

/toolchain/binutils/binutils-2.25/binutils/
Dieee.c530 bfd_vma indx; in ieee_read_expression() local
533 if (! ieee_read_number (info, pp, &indx)) in ieee_read_expression()
536 if ((bfd_vma) s->target_index == indx) in ieee_read_expression()
588 unsigned int indx) in ieee_builtin_type() argument
594 if (indx < BUILTIN_TYPE_COUNT in ieee_builtin_type()
595 && info->types.builtins[indx] != DEBUG_TYPE_NULL) in ieee_builtin_type()
596 return info->types.builtins[indx]; in ieee_builtin_type()
600 if (indx >= 32 && indx < 64) in ieee_builtin_type()
603 ieee_builtin_type (info, p, indx - 32)); in ieee_builtin_type()
604 assert (indx < BUILTIN_TYPE_COUNT); in ieee_builtin_type()
[all …]
Drdcoff.c107 coff_get_slot (struct coff_types *types, long indx) in coff_get_slot() argument
115 if (indx / COFF_SLOTS > 1000) in coff_get_slot()
116 fatal (_("Excessively large slot index: %lx"), indx); in coff_get_slot()
118 while (indx >= COFF_SLOTS) in coff_get_slot()
126 indx -= COFF_SLOTS; in coff_get_slot()
135 return (*pps)->slots + indx; in coff_get_slot()
/toolchain/binutils/binutils-2.25/bfd/
Dcofflink.c81 ret->indx = -1; in _bfd_coff_link_hash_newfunc()
910 bfd_size_type indx; in _bfd_coff_final_link() local
912 indx = _bfd_stringtab_add (flaginfo.strtab, in _bfd_coff_final_link()
915 if (indx == (bfd_size_type) -1) in _bfd_coff_final_link()
917 isym._n._n_n._n_offset = STRING_SIZE_SIZE + indx; in _bfd_coff_final_link()
1062 BFD_ASSERT ((*rel_hash)->indx >= 0); in _bfd_coff_final_link()
1063 irel->r_symndx = (*rel_hash)->indx; in _bfd_coff_final_link()
1681 long indx; in _bfd_coff_link_input_bfd() local
1686 indx = eleaux.x_sym.x_tagndx.l; in _bfd_coff_link_input_bfd()
1692 if (indx > 0 in _bfd_coff_link_input_bfd()
[all …]
Delf32-i370.c962 int indx, dindx; in i370_elf_finish_dynamic_sections() local
967 indx = elf_section_data (s)->this_idx; in i370_elf_finish_dynamic_sections()
971 BFD_ASSERT(indx > 0); in i370_elf_finish_dynamic_sections()
977 sym.st_shndx = indx; in i370_elf_finish_dynamic_sections()
1235 long indx; in i370_elf_relocate_section() local
1238 indx = 0; in i370_elf_relocate_section()
1254 indx = elf_section_data (osec)->dynindx; in i370_elf_relocate_section()
1255 if (indx == 0) in i370_elf_relocate_section()
1260 indx = elf_section_data (osec)->dynindx; in i370_elf_relocate_section()
1262 BFD_ASSERT (indx != 0); in i370_elf_relocate_section()
[all …]
Dsunos.c2338 long indx; in sunos_check_dynamic_reloc() local
2478 indx = h->dynindx; in sunos_check_dynamic_reloc()
2480 indx = 0; in sunos_check_dynamic_reloc()
2494 srel->r_index[0] = (bfd_byte) (indx >> 16); in sunos_check_dynamic_reloc()
2495 srel->r_index[1] = (bfd_byte) (indx >> 8); in sunos_check_dynamic_reloc()
2496 srel->r_index[2] = (bfd_byte)indx; in sunos_check_dynamic_reloc()
2508 srel->r_index[2] = (bfd_byte) (indx >> 16); in sunos_check_dynamic_reloc()
2509 srel->r_index[1] = (bfd_byte) (indx >> 8); in sunos_check_dynamic_reloc()
2510 srel->r_index[0] = (bfd_byte)indx; in sunos_check_dynamic_reloc()
2533 erel->r_index[0] = (bfd_byte) (indx >> 16); in sunos_check_dynamic_reloc()
[all …]
Dxcofflink.c561 ret->indx = -1; in xcoff_link_hash_newfunc()
2817 hds->indx = -2; in xcoff_mark_symbol()
3919 bfd_size_type indx; in bfd_xcoff_size_dynamic_sections() local
3921 indx = _bfd_stringtab_add (debug_strtab, name, TRUE, TRUE); in bfd_xcoff_size_dynamic_sections()
3922 if (indx == (bfd_size_type) -1) in bfd_xcoff_size_dynamic_sections()
3924 *debug_index = indx; in bfd_xcoff_size_dynamic_sections()
4291 (*sym_hash)->indx = output_index; in xcoff_link_input_bfd()
4358 bfd_size_type indx; in xcoff_link_input_bfd() local
4364 indx = _bfd_stringtab_add (flinfo->strtab, name, hash, copy); in xcoff_link_input_bfd()
4365 if (indx == (bfd_size_type) -1) in xcoff_link_input_bfd()
[all …]
Delf32-i386.c368 unsigned int indx; in elf_i386_rtype_to_howto() local
370 if ((indx = r_type) >= R_386_standard in elf_i386_rtype_to_howto()
371 && ((indx = r_type - R_386_ext_offset) - R_386_standard in elf_i386_rtype_to_howto()
373 && ((indx = r_type - R_386_tls_offset) - R_386_ext in elf_i386_rtype_to_howto()
375 && ((indx = r_type - R_386_vt_offset) - R_386_irelative in elf_i386_rtype_to_howto()
380 indx = R_386_NONE; in elf_i386_rtype_to_howto()
382 BFD_ASSERT (elf_howto_table [indx].type == r_type); in elf_i386_rtype_to_howto()
383 return &elf_howto_table[indx]; in elf_i386_rtype_to_howto()
873 return ELF_LOCAL_SYMBOL_HASH (h->indx, h->dynstr_index); in elf_i386_local_htab_hash()
886 return h1->indx == h2->indx && h1->dynstr_index == h2->dynstr_index; in elf_i386_local_htab_eq()
[all …]
Decoff.c1003 unsigned int indx = rndx->index; in ecoff_emit_aggregate() local
1012 || (rndx->rfd == 0xfff && indx == 0)) in ecoff_emit_aggregate()
1014 else if (indx == indexNil) in ecoff_emit_aggregate()
1034 indx += fdr->isymBase; in ecoff_emit_aggregate()
1038 + indx * debug_swap->external_sym_size), in ecoff_emit_aggregate()
1047 ((unsigned long) indx in ecoff_emit_aggregate()
1054 ecoff_type_to_string (bfd *abfd, FDR *fdr, unsigned int indx) in ecoff_type_to_string() argument
1084 if (AUX_GET_ISYM (bigendian, &aux_ptr[indx]) == (bfd_vma) -1) in ecoff_type_to_string()
1086 _bfd_ecoff_swap_tir_in (bigendian, &aux_ptr[indx++].a_ti, &u.ti); in ecoff_type_to_string()
1153 _bfd_ecoff_swap_rndx_in (bigendian, &aux_ptr[indx].a_rndx, &rndx); in ecoff_type_to_string()
[all …]
Delf32-v850.c2629 unsigned int indx; in v850_elf_symbol_processing() local
2631 indx = elfsym->internal_elf_sym.st_shndx; in v850_elf_symbol_processing()
2639 if (indx < elf_numsections (abfd)) in v850_elf_symbol_processing()
2640 switch (elf_elfsections (abfd)[indx]->sh_type) in v850_elf_symbol_processing()
2643 indx = SHN_V850_SCOMMON; in v850_elf_symbol_processing()
2647 indx = SHN_V850_TCOMMON; in v850_elf_symbol_processing()
2651 indx = SHN_V850_ZCOMMON; in v850_elf_symbol_processing()
2658 switch (indx) in v850_elf_symbol_processing()
2728 unsigned int indx = sym->st_shndx; in v850_elf_add_symbol_hook() local
2736 if (indx < elf_numsections (abfd)) in v850_elf_add_symbol_hook()
[all …]
Dnlm32-ppc.c732 int indx) in nlm_powerpc_write_reloc() argument
751 if (indx != -1) in nlm_powerpc_write_reloc()
754 l_symndx = indx + 3; in nlm_powerpc_write_reloc()
852 static int indx; in nlm_powerpc_write_external() local
872 relocs[i].rel, indx)) in nlm_powerpc_write_external()
878 ++indx; in nlm_powerpc_write_external()
Delflink.c411 bfd_size_type indx; in bfd_elf_link_record_dynamic_symbol() local
457 indx = _bfd_elf_strtab_add (dynstr, name, p != NULL); in bfd_elf_link_record_dynamic_symbol()
462 if (indx == (bfd_size_type) -1) in bfd_elf_link_record_dynamic_symbol()
464 h->dynstr_index = indx; in bfd_elf_link_record_dynamic_symbol()
5172 unsigned long int *indx; member
5270 s->contents + (s->indx[bucket] - s->symindx) * 4); in elf_renumber_gnu_hash_syms()
5272 h->dynindx = s->indx[bucket]++; in elf_renumber_gnu_hash_syms()
5637 bfd_size_type indx; in bfd_elf_size_dynamic_sections() local
5640 indx = _bfd_elf_strtab_add (elf_hash_table (info)->dynstr, rpath, in bfd_elf_size_dynamic_sections()
5642 if (indx == (bfd_size_type) -1) in bfd_elf_size_dynamic_sections()
[all …]
Dcoff-stgo32.c219 int indx ATTRIBUTE_UNUSED, in adjust_aux_in_post()
237 int indx ATTRIBUTE_UNUSED, in adjust_aux_out_pre()
255 int indx ATTRIBUTE_UNUSED, in adjust_aux_out_post()
Delfxx-sparc.c1043 return ELF_LOCAL_SYMBOL_HASH (h->indx, h->dynstr_index); in elf_sparc_local_htab_hash()
1056 return h1->indx == h2->indx && h1->dynstr_index == h2->dynstr_index; in elf_sparc_local_htab_eq()
1075 e.elf.indx = sec->id; in elf_sparc_get_local_sym_hash()
1095 ret->elf.indx = sec->id; in elf_sparc_get_local_sym_hash()
3488 long indx; in _bfd_sparc_elf_relocate_section() local
3496 indx = 0; in _bfd_sparc_elf_relocate_section()
3512 indx = elf_section_data (osec)->dynindx; in _bfd_sparc_elf_relocate_section()
3514 if (indx == 0) in _bfd_sparc_elf_relocate_section()
3517 indx = elf_section_data (osec)->dynindx; in _bfd_sparc_elf_relocate_section()
3522 if (indx == 0) in _bfd_sparc_elf_relocate_section()
[all …]
Dcoffswap.h384 int indx, in coff_swap_aux_in() argument
392 COFF_ADJUST_AUX_IN_PRE (abfd, ext1, type, in_class, indx, numaux, in1); in coff_swap_aux_in()
410 if (indx == 0) in coff_swap_aux_in()
479 COFF_ADJUST_AUX_IN_POST (abfd, ext1, type, in_class, indx, numaux, in1); in coff_swap_aux_in()
488 int indx ATTRIBUTE_UNUSED, in coff_swap_aux_out()
496 COFF_ADJUST_AUX_OUT_PRE (abfd, inp, type, in_class, indx, numaux, extp); in coff_swap_aux_out()
570 COFF_ADJUST_AUX_OUT_POST (abfd, inp, type, in_class, indx, numaux, extp); in coff_swap_aux_out()
Delf32-cr16c.c845 unsigned int indx; in elf32_cr16c_symbol_processing() local
847 indx = elfsym->internal_elf_sym.st_shndx; in elf32_cr16c_symbol_processing()
849 switch (indx) in elf32_cr16c_symbol_processing()
900 unsigned int indx = sym->st_shndx; in elf32_cr16c_add_symbol_hook() local
902 switch (indx) in elf32_cr16c_add_symbol_hook()
Daoutx.h1866 bfd_size_type indx; in NAME() local
1870 indx = add_to_stringtab (abfd, strtab, g->name, FALSE); in NAME()
1871 if (indx == (bfd_size_type) -1) in NAME()
1873 PUT_WORD (abfd, indx, (bfd_byte *) nsp.e_strx); in NAME()
2901 ret->indx = -1; in NAME()
3567 bfd_size_type indx; in aout_link_write_other_symbol() local
3595 if (h->indx != -2 in aout_link_write_other_symbol()
3656 indx = add_to_stringtab (output_bfd, flaginfo->strtab, h->root.root.string, in aout_link_write_other_symbol()
3658 if (indx == - (bfd_size_type) 1) in aout_link_write_other_symbol()
3662 PUT_WORD (output_bfd, indx, outsym.e_strx); in aout_link_write_other_symbol()
[all …]
Dpdp11.c1624 bfd_size_type indx; in NAME() local
1629 indx = add_to_stringtab (abfd, strtab, g->name, FALSE); in NAME()
1630 if (indx == (bfd_size_type) -1) in NAME()
1632 PUT_WORD (abfd, indx, nsp.e_strx); in NAME()
2437 ret->indx = -1; in NAME()
2907 bfd_size_type indx; in aout_link_write_other_symbol() local
2935 if (h->indx != -2 in aout_link_write_other_symbol()
2993 indx = add_to_stringtab (output_bfd, flaginfo->strtab, h->root.root.string, in aout_link_write_other_symbol()
2995 if (indx == (bfd_size_type) -1) in aout_link_write_other_symbol()
2999 PUT_WORD (output_bfd, indx, outsym.e_strx); in aout_link_write_other_symbol()
[all …]
Delf-vxworks.c115 htab->hgot->indx = -2; in elf_vxworks_create_dynamic_sections()
123 htab->hplt->indx = -2; in elf_vxworks_create_dynamic_sections()
Delf32-microblaze.c845 unsigned long indx, in microblaze_elf_output_dynamic_relocation() argument
853 rel.r_info = ELF32_R_INFO (indx, r_type); in microblaze_elf_output_dynamic_relocation()
1192 unsigned long indx; in microblaze_elf_relocate_section() local
1199 indx = 0; in microblaze_elf_relocate_section()
1241 indx = h->dynindx; in microblaze_elf_relocate_section()
1245 if ((info->shared || indx != 0) in microblaze_elf_relocate_section()
1289 /* symindex= */ indx, R_MICROBLAZE_TLSDTPMOD32, in microblaze_elf_relocate_section()
1290 got_offset, indx ? 0 : static_value); in microblaze_elf_relocate_section()
1315 /* symindex= */ indx, R_MICROBLAZE_TLSDTPREL32, in microblaze_elf_relocate_section()
1316 got_offset, indx ? 0 : static_value); in microblaze_elf_relocate_section()
[all …]
Delf32-tilepro.c3282 long indx; in tilepro_elf_relocate_section() local
3290 indx = 0; in tilepro_elf_relocate_section()
3306 indx = elf_section_data (osec)->dynindx; in tilepro_elf_relocate_section()
3308 if (indx == 0) in tilepro_elf_relocate_section()
3311 indx = elf_section_data (osec)->dynindx; in tilepro_elf_relocate_section()
3316 if (indx == 0) in tilepro_elf_relocate_section()
3327 outrel.r_info = ELF32_R_INFO (indx, r_type); in tilepro_elf_relocate_section()
3442 int indx = 0; in tilepro_elf_relocate_section() local
3457 indx = h->dynindx; in tilepro_elf_relocate_section()
3463 if ((info->shared || indx != 0) in tilepro_elf_relocate_section()
[all …]
Delf32-m68k.c347 unsigned int indx = ELF32_R_TYPE (dst->r_info); in rtype_to_howto() local
349 if (indx >= (unsigned int) R_68K_max) in rtype_to_howto()
352 abfd, (int) indx); in rtype_to_howto()
353 indx = R_68K_NONE; in rtype_to_howto()
355 cache_ptr->howto = &howto_table[indx]; in rtype_to_howto()
4048 long indx; in elf_m68k_relocate_section() local
4051 indx = 0; in elf_m68k_relocate_section()
4067 indx = elf_section_data (osec)->dynindx; in elf_m68k_relocate_section()
4068 if (indx == 0) in elf_m68k_relocate_section()
4073 indx = elf_section_data (osec)->dynindx; in elf_m68k_relocate_section()
[all …]
Delfxx-tilegx.c3691 long indx; in tilegx_elf_relocate_section() local
3699 indx = 0; in tilegx_elf_relocate_section()
3715 indx = elf_section_data (osec)->dynindx; in tilegx_elf_relocate_section()
3717 if (indx == 0) in tilegx_elf_relocate_section()
3720 indx = elf_section_data (osec)->dynindx; in tilegx_elf_relocate_section()
3725 if (indx == 0) in tilegx_elf_relocate_section()
3736 outrel.r_info = TILEGX_ELF_R_INFO (htab, rel, indx, in tilegx_elf_relocate_section()
3848 int indx = 0; in tilegx_elf_relocate_section() local
3863 indx = h->dynindx; in tilegx_elf_relocate_section()
3869 if ((info->shared || indx != 0) in tilegx_elf_relocate_section()
[all …]
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/ppc/
Dtest1xcoff32.d27 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
29 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
31 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
33 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
35 AUX indx 4 prmhsh 0 snhsh 0 typ 2 algn 0 clss 0 stb 0 snstb 0
/toolchain/binutils/binutils-2.25/gas/
Decoff.c906 symint_t indx; /* index within string table */ member
928 symint_t indx; /* index within string table */ member
1417 symint_t indx);
1426 static void add_file (const char *file_name, int indx, int fake);
1574 hash_ptr->indx = vp->num_allocated; in add_string()
1592 return hash_ptr->indx; in add_string()
1604 symint_t indx /* index to local/aux. syms */) in add_ecoff_symbol() argument
1643 psym->ecoff_sym.asym.index = indx; in add_ecoff_symbol()
1918 return hash_ptr->indx; in add_aux_sym_tir()
1925 hash_ptr->indx = vp->num_allocated; in add_aux_sym_tir()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-sh.c2343 int indx; in build_Mytes() local
2364 for (indx = 0; indx < 3; indx++) in build_Mytes()
2365 if (opcode->arg[indx] == A_IMM in build_Mytes()
2366 && operand[indx].type == A_IMM in build_Mytes()
2367 && (operand[indx].immediate.X_op == O_PIC_reloc in build_Mytes()
2368 || sh_PIC_related_p (operand[indx].immediate.X_add_symbol) in build_Mytes()
2369 || sh_PIC_related_p (operand[indx].immediate.X_op_symbol))) in build_Mytes()
2382 for (indx = 0; indx < max_index; indx++) in build_Mytes()
2384 sh_nibble_type i = opcode->nibbles[indx]; in build_Mytes()
2387 nbuf[indx] = i; in build_Mytes()
[all …]

1234