Home
last modified time | relevance | path

Searched refs:r_symndx (Results 1 – 25 of 260) sorted by relevance

1234567891011

/netbsd/src/external/gpl3/gdb/dist/bfd/
Dcoff-alpha.c500 intern->r_symndx = H_GET_32 (abfd, ext->r_symndx); in alpha_ecoff_swap_reloc_in()
522 intern->r_size = intern->r_symndx; in alpha_ecoff_swap_reloc_in()
523 intern->r_symndx = RELOC_SECTION_NONE; in alpha_ecoff_swap_reloc_in()
530 intern->r_symndx == RELOC_SECTION_ABS) in alpha_ecoff_swap_reloc_in()
532 if (! intern->r_extern && intern->r_symndx == RELOC_SECTION_LITA) in alpha_ecoff_swap_reloc_in()
533 intern->r_symndx = RELOC_SECTION_ABS; in alpha_ecoff_swap_reloc_in()
557 && intern->r_symndx == RELOC_SECTION_ABS) in alpha_ecoff_swap_reloc_out()
564 symndx = intern->r_symndx; in alpha_ecoff_swap_reloc_out()
572 || (intern->r_symndx >= 0 && intern->r_symndx <= 15)); in alpha_ecoff_swap_reloc_out()
575 H_PUT_32 (abfd, symndx, ext->r_symndx); in alpha_ecoff_swap_reloc_out()
[all …]
Dcoff-mips.c280 intern->r_symndx = (((int) ext->r_bits[0] in mips_ecoff_swap_reloc_in()
292 intern->r_symndx = (((int) ext->r_bits[0] in mips_ecoff_swap_reloc_in()
314 long r_symndx; in mips_ecoff_swap_reloc_out() local
317 || (intern->r_symndx >= 0 && intern->r_symndx <= 12)); in mips_ecoff_swap_reloc_out()
319 r_symndx = intern->r_symndx; in mips_ecoff_swap_reloc_out()
324 ext->r_bits[0] = r_symndx >> RELOC_BITS0_SYMNDX_SH_LEFT_BIG; in mips_ecoff_swap_reloc_out()
325 ext->r_bits[1] = r_symndx >> RELOC_BITS1_SYMNDX_SH_LEFT_BIG; in mips_ecoff_swap_reloc_out()
326 ext->r_bits[2] = r_symndx >> RELOC_BITS2_SYMNDX_SH_LEFT_BIG; in mips_ecoff_swap_reloc_out()
333 ext->r_bits[0] = r_symndx >> RELOC_BITS0_SYMNDX_SH_LEFT_LITTLE; in mips_ecoff_swap_reloc_out()
334 ext->r_bits[1] = r_symndx >> RELOC_BITS1_SYMNDX_SH_LEFT_LITTLE; in mips_ecoff_swap_reloc_out()
[all …]
Delf32-moxie.c222 unsigned long r_symndx; in moxie_elf_relocate_section() local
232 r_symndx = ELF32_R_SYM (rel->r_info); in moxie_elf_relocate_section()
238 if (r_symndx < symtab_hdr->sh_info) in moxie_elf_relocate_section()
240 sym = local_syms + r_symndx; in moxie_elf_relocate_section()
241 sec = local_sections [r_symndx]; in moxie_elf_relocate_section()
253 r_symndx, symtab_hdr, sym_hashes, in moxie_elf_relocate_section()
351 unsigned long r_symndx; in moxie_elf_check_relocs() local
353 r_symndx = ELF32_R_SYM (rel->r_info); in moxie_elf_check_relocs()
354 if (r_symndx < symtab_hdr->sh_info) in moxie_elf_check_relocs()
358 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in moxie_elf_check_relocs()
Delf32-mcore.c431 unsigned long r_symndx; in mcore_elf_relocate_section() local
449 r_symndx = ELF32_R_SYM (rel->r_info); in mcore_elf_relocate_section()
464 if (r_symndx < symtab_hdr->sh_info) in mcore_elf_relocate_section()
466 sym = local_syms + r_symndx; in mcore_elf_relocate_section()
467 sec = local_sections [r_symndx]; in mcore_elf_relocate_section()
476 r_symndx, symtab_hdr, sym_hashes, in mcore_elf_relocate_section()
502 howto->name, r_type, r_symndx, (long) offset, (long) addend); in mcore_elf_relocate_section()
605 unsigned long r_symndx; in mcore_elf_check_relocs() local
607 r_symndx = ELF32_R_SYM (rel->r_info); in mcore_elf_check_relocs()
609 if (r_symndx < symtab_hdr->sh_info) in mcore_elf_check_relocs()
[all …]
Delf32-d10v.c286 unsigned long r_symndx; in elf32_d10v_check_relocs() local
288 r_symndx = ELF32_R_SYM (rel->r_info); in elf32_d10v_check_relocs()
289 if (r_symndx < symtab_hdr->sh_info) in elf32_d10v_check_relocs()
293 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf32_d10v_check_relocs()
413 unsigned long r_symndx; in elf32_d10v_relocate_section() local
420 r_symndx = ELF32_R_SYM (rel->r_info); in elf32_d10v_relocate_section()
431 if (r_symndx < symtab_hdr->sh_info) in elf32_d10v_relocate_section()
433 sym = local_syms + r_symndx; in elf32_d10v_relocate_section()
434 sec = local_sections[r_symndx]; in elf32_d10v_relocate_section()
466 r_symndx, symtab_hdr, sym_hashes, in elf32_d10v_relocate_section()
Delf32-mt.c323 unsigned long r_symndx; in mt_elf_relocate_section() local
334 r_symndx = ELF32_R_SYM (rel->r_info); in mt_elf_relocate_section()
341 if (r_symndx < symtab_hdr->sh_info) in mt_elf_relocate_section()
343 sym = local_syms + r_symndx; in mt_elf_relocate_section()
344 sec = local_sections [r_symndx]; in mt_elf_relocate_section()
357 r_symndx, symtab_hdr, sym_hashes, in mt_elf_relocate_section()
448 unsigned long r_symndx; in mt_elf_check_relocs() local
450 r_symndx = ELF32_R_SYM (rel->r_info); in mt_elf_check_relocs()
451 if (r_symndx < symtab_hdr->sh_info) in mt_elf_check_relocs()
455 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in mt_elf_check_relocs()
Dcoff-tic4x.c173 int bank = (dst->r_symndx == -1) ? HOWTO_BANK : 0; in tic4x_lookup_howto()
199 if (rel->r_symndx == -1 && addendp != NULL) in coff_tic4x_rtype_to_howto()
222 if (reloc->r_symndx != -1 && symbols != NULL) in tic4x_reloc_processing()
224 if (reloc->r_symndx < 0 || reloc->r_symndx >= obj_conv_table_size (abfd)) in tic4x_reloc_processing()
229 abfd, reloc->r_symndx); in tic4x_reloc_processing()
236 + obj_convert (abfd)[reloc->r_symndx]); in tic4x_reloc_processing()
Delf32-fr30.c522 unsigned long r_symndx; in fr30_elf_relocate_section() local
537 r_symndx = ELF32_R_SYM (rel->r_info); in fr30_elf_relocate_section()
544 if (r_symndx < symtab_hdr->sh_info) in fr30_elf_relocate_section()
546 sym = local_syms + r_symndx; in fr30_elf_relocate_section()
547 sec = local_sections [r_symndx]; in fr30_elf_relocate_section()
559 r_symndx, symtab_hdr, sym_hashes, in fr30_elf_relocate_section()
665 unsigned long r_symndx; in fr30_elf_check_relocs() local
667 r_symndx = ELF32_R_SYM (rel->r_info); in fr30_elf_check_relocs()
668 if (r_symndx < symtab_hdr->sh_info) in fr30_elf_check_relocs()
672 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in fr30_elf_check_relocs()
Delf32-xstormy16.c433 unsigned long r_symndx; in xstormy16_elf_check_relocs() local
437 r_symndx = ELF32_R_SYM (rel->r_info); in xstormy16_elf_check_relocs()
438 if (r_symndx < symtab_hdr->sh_info) in xstormy16_elf_check_relocs()
442 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in xstormy16_elf_check_relocs()
496 offset = &local_plt_offsets[r_symndx]; in xstormy16_elf_check_relocs()
787 unsigned long r_symndx; in xstormy16_elf_relocate_section() local
802 r_symndx = ELF32_R_SYM (rel->r_info); in xstormy16_elf_relocate_section()
808 if (r_symndx < symtab_hdr->sh_info) in xstormy16_elf_relocate_section()
810 sym = local_syms + r_symndx; in xstormy16_elf_relocate_section()
811 sec = local_sections [r_symndx]; in xstormy16_elf_relocate_section()
[all …]
Delf32-iq2000.c479 unsigned long r_symndx; in iq2000_elf_check_relocs() local
481 r_symndx = ELF32_R_SYM (rel->r_info); in iq2000_elf_check_relocs()
482 if (r_symndx < symtab_hdr->sh_info) in iq2000_elf_check_relocs()
486 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in iq2000_elf_check_relocs()
586 unsigned long r_symndx; in iq2000_elf_relocate_section() local
601 r_symndx = ELF32_R_SYM (rel->r_info); in iq2000_elf_relocate_section()
608 if (r_symndx < symtab_hdr->sh_info) in iq2000_elf_relocate_section()
612 sym = local_syms + r_symndx; in iq2000_elf_relocate_section()
613 osec = sec = local_sections [r_symndx]; in iq2000_elf_relocate_section()
636 r_symndx, symtab_hdr, sym_hashes, in iq2000_elf_relocate_section()
Dcoff-tic30.c164 if (reloc->r_symndx == -1 || symbols == NULL) in reloc_processing()
166 else if (reloc->r_symndx >= 0 && reloc->r_symndx < obj_conv_table_size (abfd)) in reloc_processing()
167 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx]; in reloc_processing()
173 abfd, reloc->r_symndx); in reloc_processing()
Delf32-visium.c515 unsigned long r_symndx; in visium_elf_check_relocs() local
517 r_symndx = ELF32_R_SYM (rel->r_info); in visium_elf_check_relocs()
518 if (r_symndx < symtab_hdr->sh_info) in visium_elf_check_relocs()
522 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in visium_elf_check_relocs()
571 unsigned long r_symndx; in visium_elf_relocate_section() local
586 r_symndx = ELF32_R_SYM (rel->r_info); in visium_elf_relocate_section()
593 if (r_symndx < symtab_hdr->sh_info) in visium_elf_relocate_section()
596 sym = local_syms + r_symndx; in visium_elf_relocate_section()
597 sec = local_sections[r_symndx]; in visium_elf_relocate_section()
610 r_symndx, symtab_hdr, sym_hashes, in visium_elf_relocate_section()
Delfnn-loongarch.c675 unsigned int r_symndx, in loongarch_can_trans_tls() argument
692 symbol_tls_type = _bfd_loongarch_elf_tls_type (input_bfd, h, r_symndx); in loongarch_can_trans_tls()
750 unsigned int r_symndx, in loongarch_tls_transition() argument
753 if (! loongarch_can_trans_tls (input_bfd, info, h, r_symndx, r_type)) in loongarch_tls_transition()
813 unsigned int r_symndx; in loongarch_elf_check_relocs() local
817 r_symndx = ELFNN_R_SYM (rel->r_info); in loongarch_elf_check_relocs()
820 if (r_symndx >= NUM_SHDR_ENTRIES (symtab_hdr)) in loongarch_elf_check_relocs()
822 _bfd_error_handler (_("%pB: bad symbol index: %d"), abfd, r_symndx); in loongarch_elf_check_relocs()
826 if (r_symndx < symtab_hdr->sh_info) in loongarch_elf_check_relocs()
829 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, abfd, r_symndx); in loongarch_elf_check_relocs()
[all …]
/netbsd/src/external/gpl3/binutils/dist/bfd/
Dcoff-alpha.c500 intern->r_symndx = H_GET_32 (abfd, ext->r_symndx); in alpha_ecoff_swap_reloc_in()
522 intern->r_size = intern->r_symndx; in alpha_ecoff_swap_reloc_in()
523 intern->r_symndx = RELOC_SECTION_NONE; in alpha_ecoff_swap_reloc_in()
530 intern->r_symndx == RELOC_SECTION_ABS) in alpha_ecoff_swap_reloc_in()
532 if (! intern->r_extern && intern->r_symndx == RELOC_SECTION_LITA) in alpha_ecoff_swap_reloc_in()
533 intern->r_symndx = RELOC_SECTION_ABS; in alpha_ecoff_swap_reloc_in()
557 && intern->r_symndx == RELOC_SECTION_ABS) in alpha_ecoff_swap_reloc_out()
564 symndx = intern->r_symndx; in alpha_ecoff_swap_reloc_out()
572 || (intern->r_symndx >= 0 && intern->r_symndx <= 15)); in alpha_ecoff_swap_reloc_out()
575 H_PUT_32 (abfd, symndx, ext->r_symndx); in alpha_ecoff_swap_reloc_out()
[all …]
Dcoff-mips.c280 intern->r_symndx = (((int) ext->r_bits[0] in mips_ecoff_swap_reloc_in()
292 intern->r_symndx = (((int) ext->r_bits[0] in mips_ecoff_swap_reloc_in()
314 long r_symndx; in mips_ecoff_swap_reloc_out() local
317 || (intern->r_symndx >= 0 && intern->r_symndx <= 12)); in mips_ecoff_swap_reloc_out()
319 r_symndx = intern->r_symndx; in mips_ecoff_swap_reloc_out()
324 ext->r_bits[0] = r_symndx >> RELOC_BITS0_SYMNDX_SH_LEFT_BIG; in mips_ecoff_swap_reloc_out()
325 ext->r_bits[1] = r_symndx >> RELOC_BITS1_SYMNDX_SH_LEFT_BIG; in mips_ecoff_swap_reloc_out()
326 ext->r_bits[2] = r_symndx >> RELOC_BITS2_SYMNDX_SH_LEFT_BIG; in mips_ecoff_swap_reloc_out()
333 ext->r_bits[0] = r_symndx >> RELOC_BITS0_SYMNDX_SH_LEFT_LITTLE; in mips_ecoff_swap_reloc_out()
334 ext->r_bits[1] = r_symndx >> RELOC_BITS1_SYMNDX_SH_LEFT_LITTLE; in mips_ecoff_swap_reloc_out()
[all …]
Delf32-moxie.c222 unsigned long r_symndx; in moxie_elf_relocate_section() local
232 r_symndx = ELF32_R_SYM (rel->r_info); in moxie_elf_relocate_section()
238 if (r_symndx < symtab_hdr->sh_info) in moxie_elf_relocate_section()
240 sym = local_syms + r_symndx; in moxie_elf_relocate_section()
241 sec = local_sections [r_symndx]; in moxie_elf_relocate_section()
253 r_symndx, symtab_hdr, sym_hashes, in moxie_elf_relocate_section()
351 unsigned long r_symndx; in moxie_elf_check_relocs() local
353 r_symndx = ELF32_R_SYM (rel->r_info); in moxie_elf_check_relocs()
354 if (r_symndx < symtab_hdr->sh_info) in moxie_elf_check_relocs()
358 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in moxie_elf_check_relocs()
Delf32-mcore.c431 unsigned long r_symndx; in mcore_elf_relocate_section() local
449 r_symndx = ELF32_R_SYM (rel->r_info); in mcore_elf_relocate_section()
464 if (r_symndx < symtab_hdr->sh_info) in mcore_elf_relocate_section()
466 sym = local_syms + r_symndx; in mcore_elf_relocate_section()
467 sec = local_sections [r_symndx]; in mcore_elf_relocate_section()
476 r_symndx, symtab_hdr, sym_hashes, in mcore_elf_relocate_section()
502 howto->name, r_type, r_symndx, (long) offset, (long) addend); in mcore_elf_relocate_section()
605 unsigned long r_symndx; in mcore_elf_check_relocs() local
607 r_symndx = ELF32_R_SYM (rel->r_info); in mcore_elf_check_relocs()
609 if (r_symndx < symtab_hdr->sh_info) in mcore_elf_check_relocs()
[all …]
Delf32-d10v.c286 unsigned long r_symndx; in elf32_d10v_check_relocs() local
288 r_symndx = ELF32_R_SYM (rel->r_info); in elf32_d10v_check_relocs()
289 if (r_symndx < symtab_hdr->sh_info) in elf32_d10v_check_relocs()
293 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in elf32_d10v_check_relocs()
413 unsigned long r_symndx; in elf32_d10v_relocate_section() local
420 r_symndx = ELF32_R_SYM (rel->r_info); in elf32_d10v_relocate_section()
431 if (r_symndx < symtab_hdr->sh_info) in elf32_d10v_relocate_section()
433 sym = local_syms + r_symndx; in elf32_d10v_relocate_section()
434 sec = local_sections[r_symndx]; in elf32_d10v_relocate_section()
466 r_symndx, symtab_hdr, sym_hashes, in elf32_d10v_relocate_section()
Delf32-mt.c323 unsigned long r_symndx; in mt_elf_relocate_section() local
334 r_symndx = ELF32_R_SYM (rel->r_info); in mt_elf_relocate_section()
341 if (r_symndx < symtab_hdr->sh_info) in mt_elf_relocate_section()
343 sym = local_syms + r_symndx; in mt_elf_relocate_section()
344 sec = local_sections [r_symndx]; in mt_elf_relocate_section()
357 r_symndx, symtab_hdr, sym_hashes, in mt_elf_relocate_section()
448 unsigned long r_symndx; in mt_elf_check_relocs() local
450 r_symndx = ELF32_R_SYM (rel->r_info); in mt_elf_check_relocs()
451 if (r_symndx < symtab_hdr->sh_info) in mt_elf_check_relocs()
455 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in mt_elf_check_relocs()
Dcoff-tic4x.c173 int bank = (dst->r_symndx == -1) ? HOWTO_BANK : 0; in tic4x_lookup_howto()
199 if (rel->r_symndx == -1 && addendp != NULL) in coff_tic4x_rtype_to_howto()
222 if (reloc->r_symndx != -1 && symbols != NULL) in tic4x_reloc_processing()
224 if (reloc->r_symndx < 0 || reloc->r_symndx >= obj_conv_table_size (abfd)) in tic4x_reloc_processing()
229 abfd, reloc->r_symndx); in tic4x_reloc_processing()
236 + obj_convert (abfd)[reloc->r_symndx]); in tic4x_reloc_processing()
Delf32-fr30.c522 unsigned long r_symndx; in fr30_elf_relocate_section() local
537 r_symndx = ELF32_R_SYM (rel->r_info); in fr30_elf_relocate_section()
544 if (r_symndx < symtab_hdr->sh_info) in fr30_elf_relocate_section()
546 sym = local_syms + r_symndx; in fr30_elf_relocate_section()
547 sec = local_sections [r_symndx]; in fr30_elf_relocate_section()
559 r_symndx, symtab_hdr, sym_hashes, in fr30_elf_relocate_section()
665 unsigned long r_symndx; in fr30_elf_check_relocs() local
667 r_symndx = ELF32_R_SYM (rel->r_info); in fr30_elf_check_relocs()
668 if (r_symndx < symtab_hdr->sh_info) in fr30_elf_check_relocs()
672 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in fr30_elf_check_relocs()
Delf32-xstormy16.c433 unsigned long r_symndx; in xstormy16_elf_check_relocs() local
437 r_symndx = ELF32_R_SYM (rel->r_info); in xstormy16_elf_check_relocs()
438 if (r_symndx < symtab_hdr->sh_info) in xstormy16_elf_check_relocs()
442 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in xstormy16_elf_check_relocs()
496 offset = &local_plt_offsets[r_symndx]; in xstormy16_elf_check_relocs()
787 unsigned long r_symndx; in xstormy16_elf_relocate_section() local
802 r_symndx = ELF32_R_SYM (rel->r_info); in xstormy16_elf_relocate_section()
808 if (r_symndx < symtab_hdr->sh_info) in xstormy16_elf_relocate_section()
810 sym = local_syms + r_symndx; in xstormy16_elf_relocate_section()
811 sec = local_sections [r_symndx]; in xstormy16_elf_relocate_section()
[all …]
Delf32-iq2000.c479 unsigned long r_symndx; in iq2000_elf_check_relocs() local
481 r_symndx = ELF32_R_SYM (rel->r_info); in iq2000_elf_check_relocs()
482 if (r_symndx < symtab_hdr->sh_info) in iq2000_elf_check_relocs()
486 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in iq2000_elf_check_relocs()
586 unsigned long r_symndx; in iq2000_elf_relocate_section() local
601 r_symndx = ELF32_R_SYM (rel->r_info); in iq2000_elf_relocate_section()
608 if (r_symndx < symtab_hdr->sh_info) in iq2000_elf_relocate_section()
612 sym = local_syms + r_symndx; in iq2000_elf_relocate_section()
613 osec = sec = local_sections [r_symndx]; in iq2000_elf_relocate_section()
636 r_symndx, symtab_hdr, sym_hashes, in iq2000_elf_relocate_section()
Dcoff-tic30.c164 if (reloc->r_symndx == -1 || symbols == NULL) in reloc_processing()
166 else if (reloc->r_symndx >= 0 && reloc->r_symndx < obj_conv_table_size (abfd)) in reloc_processing()
167 relent->sym_ptr_ptr = symbols + obj_convert (abfd)[reloc->r_symndx]; in reloc_processing()
173 abfd, reloc->r_symndx); in reloc_processing()
Delf32-visium.c515 unsigned long r_symndx; in visium_elf_check_relocs() local
517 r_symndx = ELF32_R_SYM (rel->r_info); in visium_elf_check_relocs()
518 if (r_symndx < symtab_hdr->sh_info) in visium_elf_check_relocs()
522 h = sym_hashes[r_symndx - symtab_hdr->sh_info]; in visium_elf_check_relocs()
571 unsigned long r_symndx; in visium_elf_relocate_section() local
586 r_symndx = ELF32_R_SYM (rel->r_info); in visium_elf_relocate_section()
593 if (r_symndx < symtab_hdr->sh_info) in visium_elf_relocate_section()
596 sym = local_syms + r_symndx; in visium_elf_relocate_section()
597 sec = local_sections[r_symndx]; in visium_elf_relocate_section()
610 r_symndx, symtab_hdr, sym_hashes, in visium_elf_relocate_section()

1234567891011