/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-m68hc11.c | 680 Elf_Internal_Rela *irel, *irelend; in m68hc11_elf_relax_section() local 719 for (irel = internal_relocs; irel < irelend; irel++) in m68hc11_elf_relax_section() 729 if (ELF32_R_TYPE (irel->r_info) != (int) R_M68HC11_16 in m68hc11_elf_relax_section() 730 && ELF32_R_TYPE (irel->r_info) != (int) R_M68HC11_RL_JUMP in m68hc11_elf_relax_section() 731 && ELF32_R_TYPE (irel->r_info) != (int) R_M68HC11_RL_GROUP) in m68hc11_elf_relax_section() 763 if (ELF32_R_TYPE (irel->r_info) == (int) R_M68HC11_RL_JUMP) in m68hc11_elf_relax_section() 773 if (irel->r_offset + 2 >= sec->size) in m68hc11_elf_relax_section() 779 code = bfd_get_8 (abfd, contents + irel->r_offset + 2); in m68hc11_elf_relax_section() 785 nrel = irel + 1; in m68hc11_elf_relax_section() 787 || irel->r_offset + 3 != nrel->r_offset in m68hc11_elf_relax_section() [all …]
|
D | elf32-h8300.c | 698 Elf_Internal_Rela *irel, *irelend; in elf32_h8_relax_section() local 732 for (irel = internal_relocs; irel < irelend; irel++) in elf32_h8_relax_section() 739 elf32_h8_info_to_howto (abfd, &bfd_reloc, irel); in elf32_h8_relax_section() 743 if (irel != internal_relocs) in elf32_h8_relax_section() 744 last_reloc = irel - 1; in elf32_h8_relax_section() 746 switch(ELF32_R_TYPE (irel->r_info)) in elf32_h8_relax_section() 786 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info) in elf32_h8_relax_section() 792 isym = isymbuf + ELF32_R_SYM (irel->r_info); in elf32_h8_relax_section() 807 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info; in elf32_h8_relax_section() 831 switch (ELF32_R_TYPE (irel->r_info)) in elf32_h8_relax_section() [all …]
|
D | elf-m10200.c | 465 Elf_Internal_Rela *irel, *irelend; in mn10200_elf_relax_delete_bytes() local 479 irel = elf_section_data (sec)->relocs; in mn10200_elf_relax_delete_bytes() 480 irelend = irel + sec->reloc_count; in mn10200_elf_relax_delete_bytes() 488 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in mn10200_elf_relax_delete_bytes() 491 if ((irel->r_offset > addr in mn10200_elf_relax_delete_bytes() 492 && irel->r_offset < toaddr)) in mn10200_elf_relax_delete_bytes() 493 irel->r_offset -= count; in mn10200_elf_relax_delete_bytes() 565 Elf_Internal_Rela *irel, *irelend; in mn10200_elf_relax_section() local 592 for (irel = internal_relocs; irel < irelend; irel++) in mn10200_elf_relax_section() 598 if (ELF32_R_TYPE (irel->r_info) == (int) R_MN10200_NONE in mn10200_elf_relax_section() [all …]
|
D | elf32-nds32.c | 6695 calculate_offset (bfd *abfd, asection *sec, Elf_Internal_Rela *irel, in calculate_offset() argument 6704 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info) in calculate_offset() 6709 isym = isymbuf + ELF32_R_SYM (irel->r_info); in calculate_offset() 6729 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info; in calculate_offset() 6758 addend = irel->r_addend; in calculate_offset() 6761 - (irel->r_offset + sec->output_section->vma + sec->output_offset)); in calculate_offset() 6768 Elf_Internal_Rela *irel, in calculate_plt_memory_address() argument 6773 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info) in calculate_plt_memory_address() 6778 isym = isymbuf + ELF32_R_SYM (irel->r_info); in calculate_plt_memory_address() 6799 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info; in calculate_plt_memory_address() [all …]
|
D | elf32-crx.c | 593 Elf_Internal_Rela *irel, *irelend; in elf32_crx_relax_delete_bytes() local 608 irel = elf_section_data (sec)->relocs; in elf32_crx_relax_delete_bytes() 609 irelend = irel + sec->reloc_count; in elf32_crx_relax_delete_bytes() 617 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes() 620 if ((irel->r_offset > addr in elf32_crx_relax_delete_bytes() 621 && irel->r_offset < toaddr)) in elf32_crx_relax_delete_bytes() 622 irel->r_offset -= count; in elf32_crx_relax_delete_bytes() 636 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_crx_relax_delete_bytes() 643 if (ELF32_R_TYPE (irel->r_info) != (int) R_CRX_SWITCH8 in elf32_crx_relax_delete_bytes() 644 && ELF32_R_TYPE (irel->r_info) != (int) R_CRX_SWITCH16 in elf32_crx_relax_delete_bytes() [all …]
|
D | elf32-ip2k.c | 277 Elf_Internal_Rela *irel) in symbol_value() argument 279 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info) in symbol_value() 284 isym = isymbuf + ELF32_R_SYM (irel->r_info); in symbol_value() 301 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info; in symbol_value() 536 Elf_Internal_Rela *irel, in ip2k_test_page_insn() argument 542 symval = symbol_value (abfd, misc->symtab_hdr, misc->isymbuf, irel); in ip2k_test_page_insn() 550 if (PAGENO (symval + irel->r_addend) != in ip2k_test_page_insn() 551 ip2k_nominal_page_bits (abfd, sec, irel->r_offset, misc->contents)) in ip2k_test_page_insn() 579 Elf_Internal_Rela *irel, *irelend, *irelbase; in adjust_all_relocations() local 593 for (irel = irelbase; irel < irelend; irel++) in adjust_all_relocations() [all …]
|
D | elf32-cr16.c | 1264 Elf_Internal_Rela *irel, *irelend; in elf32_cr16_relax_delete_bytes() local 1279 irel = elf_section_data (sec)->relocs; in elf32_cr16_relax_delete_bytes() 1280 irelend = irel + sec->reloc_count; in elf32_cr16_relax_delete_bytes() 1288 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_cr16_relax_delete_bytes() 1290 if ((irel->r_offset > addr && irel->r_offset < toaddr)) in elf32_cr16_relax_delete_bytes() 1291 irel->r_offset -= count; in elf32_cr16_relax_delete_bytes() 1305 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_cr16_relax_delete_bytes() 1312 if (ELF32_R_TYPE (irel->r_info) != (int) R_CR16_SWITCH8 in elf32_cr16_relax_delete_bytes() 1313 && ELF32_R_TYPE (irel->r_info) != (int) R_CR16_SWITCH16 in elf32_cr16_relax_delete_bytes() 1314 && ELF32_R_TYPE (irel->r_info) != (int) R_CR16_SWITCH32) in elf32_cr16_relax_delete_bytes() [all …]
|
D | elf-m10300.c | 2406 Elf_Internal_Rela *irel, *irelend; in mn10300_elf_relax_delete_bytes() local 2421 irel = elf_section_data (sec)->relocs; in mn10300_elf_relax_delete_bytes() 2422 irelend = irel + sec->reloc_count; in mn10300_elf_relax_delete_bytes() 2435 for (; irel < irelend; irel++) in mn10300_elf_relax_delete_bytes() 2437 int alignment = 1 << irel->r_addend; in mn10300_elf_relax_delete_bytes() 2439 if (ELF32_R_TYPE (irel->r_info) == (int) R_MN10300_ALIGN in mn10300_elf_relax_delete_bytes() 2440 && irel->r_offset > addr in mn10300_elf_relax_delete_bytes() 2441 && irel->r_offset < toaddr in mn10300_elf_relax_delete_bytes() 2445 irelalign = irel; in mn10300_elf_relax_delete_bytes() 2446 toaddr = irel->r_offset; in mn10300_elf_relax_delete_bytes() [all …]
|
D | elf32-msp430.c | 1574 Elf_Internal_Rela *irel; in msp430_elf_relax_adjust_locals() local 1578 irel = elf_section_data (sec)->relocs; in msp430_elf_relax_adjust_locals() 1579 if (irel == NULL) in msp430_elf_relax_adjust_locals() 1582 irelend = irel + sec->reloc_count; in msp430_elf_relax_adjust_locals() 1586 for (;irel < irelend; irel++) in msp430_elf_relax_adjust_locals() 1588 unsigned int sidx = ELF32_R_SYM(irel->r_info); in msp430_elf_relax_adjust_locals() 1592 if (irel->r_addend > addr && irel->r_addend < toaddr in msp430_elf_relax_adjust_locals() 1595 irel->r_addend -= count; in msp430_elf_relax_adjust_locals() 1610 Elf_Internal_Rela *irel; in msp430_elf_relax_delete_bytes() local 1626 irel = elf_section_data (sec)->relocs; in msp430_elf_relax_delete_bytes() [all …]
|
D | coff-sh.c | 711 struct internal_reloc *irel, *irelend; in sh_relax_section() local 739 for (irel = internal_relocs; irel < irelend; irel++) in sh_relax_section() 747 if (irel->r_type == R_SH_CODE) in sh_relax_section() 750 if (irel->r_type != R_SH_USES) in sh_relax_section() 769 laddr = irel->r_vaddr - sec->vma + 4; in sh_relax_section() 771 laddr += ((irel->r_offset & 0xffffffff) ^ 0x80000000) - 0x80000000; in sh_relax_section() 775 abfd, (unsigned long) irel->r_vaddr); in sh_relax_section() 785 abfd, (unsigned long) irel->r_vaddr, insn)); in sh_relax_section() 802 abfd, (unsigned long) irel->r_vaddr)); in sh_relax_section() 877 - (irel->r_vaddr in sh_relax_section() [all …]
|
D | elf32-avr.c | 1619 elf32_avr_is_diff_reloc (Elf_Internal_Rela *irel) in elf32_avr_is_diff_reloc() argument 1621 return (ELF32_R_TYPE (irel->r_info) == R_AVR_DIFF8 in elf32_avr_is_diff_reloc() 1622 ||ELF32_R_TYPE (irel->r_info) == R_AVR_DIFF16 in elf32_avr_is_diff_reloc() 1623 || ELF32_R_TYPE (irel->r_info) == R_AVR_DIFF32); in elf32_avr_is_diff_reloc() 1633 Elf_Internal_Rela *irel, in elf32_avr_adjust_diff_reloc_value() argument 1648 reloc_contents = isec_contents + irel->r_offset; in elf32_avr_adjust_diff_reloc_value() 1652 switch (ELF32_R_TYPE (irel->r_info)) in elf32_avr_adjust_diff_reloc_value() 1680 bfd_vma end_address = symval + irel->r_addend; in elf32_avr_adjust_diff_reloc_value() 1689 switch (ELF32_R_TYPE (irel->r_info)) in elf32_avr_adjust_diff_reloc_value() 1729 Elf_Internal_Rela *irel, *irelend; in elf32_avr_relax_delete_bytes() local [all …]
|
D | elf32-v850.c | 2875 Elf_Internal_Rela *irel; in v850_elf_relax_delete_bytes() local 2901 irel = elf_section_data (sec)->relocs; in v850_elf_relax_delete_bytes() 2902 irelend = irel + sec->reloc_count; in v850_elf_relax_delete_bytes() 2906 for (; irel < irelend; irel++) in v850_elf_relax_delete_bytes() 2912 raddr = irel->r_offset; in v850_elf_relax_delete_bytes() 2914 irel->r_offset -= count; in v850_elf_relax_delete_bytes() 2918 irel->r_info = ELF32_R_INFO (ELF32_R_SYM (irel->r_info), in v850_elf_relax_delete_bytes() 2923 if (ELF32_R_TYPE (irel->r_info) == (int) R_V850_ALIGN) in v850_elf_relax_delete_bytes() 2927 extsyms + ELF32_R_SYM (irel->r_info), in v850_elf_relax_delete_bytes() 2928 shndx ? shndx + ELF32_R_SYM (irel->r_info) : NULL, in v850_elf_relax_delete_bytes() [all …]
|
D | elf32-rx.c | 1535 Elf_Internal_Rela * irel; in elf32_rx_relax_delete_bytes() local 1557 irel = elf_section_data (sec)->relocs; in elf32_rx_relax_delete_bytes() 1558 irelend = irel + sec->reloc_count; in elf32_rx_relax_delete_bytes() 1573 for (irel = elf_section_data (sec)->relocs; irel < irelend; irel++) in elf32_rx_relax_delete_bytes() 1576 if (irel->r_offset > addr in elf32_rx_relax_delete_bytes() 1577 && (irel->r_offset < toaddr in elf32_rx_relax_delete_bytes() 1578 || (force_snip && irel->r_offset == toaddr))) in elf32_rx_relax_delete_bytes() 1579 irel->r_offset -= count; in elf32_rx_relax_delete_bytes() 1584 if (irel->r_offset == toaddr in elf32_rx_relax_delete_bytes() 1585 && ELF32_R_TYPE (irel->r_info) == R_RX_RH_RELAX in elf32_rx_relax_delete_bytes() [all …]
|
D | elf32-m32c.c | 1378 Elf_Internal_Rela *irel, *irelend, *srel; in m32c_elf_relax_section() local 1459 for (irel = internal_relocs; irel < irelend; irel++) in m32c_elf_relax_section() 1473 if (ELF32_R_TYPE(irel->r_info) != R_M32C_RL_JUMP in m32c_elf_relax_section() 1474 && ELF32_R_TYPE(irel->r_info) != R_M32C_RL_1ADDR in m32c_elf_relax_section() 1475 && ELF32_R_TYPE(irel->r_info) != R_M32C_RL_2ADDR) in m32c_elf_relax_section() 1478 srel = irel; in m32c_elf_relax_section() 1482 BFD_ASSERT (irel->r_offset < sec->size); in m32c_elf_relax_section() 1484 insn = contents + irel->r_offset; in m32c_elf_relax_section() 1485 relax_relocs = irel->r_addend % 16; in m32c_elf_relax_section() 1527 srel = irel + (relax_relocs ? 1 : 0); in m32c_elf_relax_section() [all …]
|
D | elf32-rl78.c | 1477 Elf_Internal_Rela * irel; in elf32_rl78_relax_delete_bytes() local 1499 irel = elf_section_data (sec)->relocs; in elf32_rl78_relax_delete_bytes() 1500 if (irel == NULL) in elf32_rl78_relax_delete_bytes() 1503 irel = elf_section_data (sec)->relocs; in elf32_rl78_relax_delete_bytes() 1506 irelend = irel + sec->reloc_count; in elf32_rl78_relax_delete_bytes() 1521 for (; irel && irel < irelend; irel++) in elf32_rl78_relax_delete_bytes() 1524 if (irel->r_offset > addr in elf32_rl78_relax_delete_bytes() 1525 && (irel->r_offset < toaddr in elf32_rl78_relax_delete_bytes() 1526 || (force_snip && irel->r_offset == toaddr))) in elf32_rl78_relax_delete_bytes() 1527 irel->r_offset -= count; in elf32_rl78_relax_delete_bytes() [all …]
|
D | coff-m68k.c | 444 struct internal_reloc *irel, *irelend; in bfd_m68k_coff_create_embedded_relocs() local 458 irel = _bfd_coff_read_internal_relocs (abfd, datasec, TRUE, NULL, FALSE, in bfd_m68k_coff_create_embedded_relocs() 460 irelend = irel + datasec->reloc_count; in bfd_m68k_coff_create_embedded_relocs() 469 for (; irel < irelend; irel++, p += 12) in bfd_m68k_coff_create_embedded_relocs() 480 if (irel->r_type != R_RELLONG) in bfd_m68k_coff_create_embedded_relocs() 487 if (irel->r_symndx == -1) in bfd_m68k_coff_create_embedded_relocs() 493 h = obj_coff_sym_hashes (abfd)[irel->r_symndx]; in bfd_m68k_coff_create_embedded_relocs() 498 bfd_coff_swap_sym_in (abfd, extsyms + symesz * irel->r_symndx, in bfd_m68k_coff_create_embedded_relocs() 510 (irel->r_vaddr - datasec->vma + datasec->output_offset), p); in bfd_m68k_coff_create_embedded_relocs()
|
D | elf32-xtensa.c | 789 Elf_Internal_Rela *internal_relocs, *irel, *rel_end; in xtensa_read_table_entries() local 833 irel = internal_relocs; in xtensa_read_table_entries() 836 irel = NULL; in xtensa_read_table_entries() 848 while (irel && in xtensa_read_table_entries() 849 (irel->r_offset < off in xtensa_read_table_entries() 850 || (irel->r_offset == off in xtensa_read_table_entries() 851 && ELF32_R_TYPE (irel->r_info) == R_XTENSA_NONE))) in xtensa_read_table_entries() 853 irel += 1; in xtensa_read_table_entries() 854 if (irel >= rel_end) in xtensa_read_table_entries() 855 irel = 0; in xtensa_read_table_entries() [all …]
|
D | elf32-sh.c | 505 Elf_Internal_Rela *irel, *irelend; in sh_elf_relax_section() local 535 for (irel = internal_relocs; irel < irelend; irel++) in sh_elf_relax_section() 542 if (ELF32_R_TYPE (irel->r_info) == (int) R_SH_CODE) in sh_elf_relax_section() 545 if (ELF32_R_TYPE (irel->r_info) != (int) R_SH_USES) in sh_elf_relax_section() 564 laddr = irel->r_offset + 4 + irel->r_addend; in sh_elf_relax_section() 569 (unsigned long) irel->r_offset); in sh_elf_relax_section() 580 abfd, (unsigned long) irel->r_offset, insn)); in sh_elf_relax_section() 597 abfd, (unsigned long) irel->r_offset)); in sh_elf_relax_section() 677 - (irel->r_offset in sh_elf_relax_section() 709 irel->r_info = ELF32_R_INFO (ELF32_R_SYM (irelfn->r_info), R_SH_IND12W); in sh_elf_relax_section() [all …]
|
D | elf32-microblaze.c | 1663 Elf_Internal_Rela *irel, *irelend; in microblaze_elf_relax_section() local 1718 for (irel = internal_relocs; irel < irelend; irel++, rel_count++) in microblaze_elf_relax_section() 1721 if ((ELF32_R_TYPE (irel->r_info) != (int) R_MICROBLAZE_64_PCREL) in microblaze_elf_relax_section() 1722 && (ELF32_R_TYPE (irel->r_info) != (int) R_MICROBLAZE_64 )) in microblaze_elf_relax_section() 1745 if (ELF32_R_SYM (irel->r_info) < symtab_hdr->sh_info) in microblaze_elf_relax_section() 1750 isym = isymbuf + ELF32_R_SYM (irel->r_info); in microblaze_elf_relax_section() 1760 symval = _bfd_elf_rela_local_sym (abfd, isym, &sym_sec, irel); in microblaze_elf_relax_section() 1767 indx = ELF32_R_SYM (irel->r_info) - symtab_hdr->sh_info; in microblaze_elf_relax_section() 1785 if (ELF32_R_TYPE (irel->r_info) == (int) R_MICROBLAZE_64_PCREL) in microblaze_elf_relax_section() 1787 symval = symval + irel->r_addend in microblaze_elf_relax_section() [all …]
|
D | cofflink.c | 1046 struct internal_reloc *irel; in _bfd_coff_final_link() local 1054 irel = flaginfo.section_info[o->target_index].relocs; in _bfd_coff_final_link() 1055 irelend = irel + o->reloc_count; in _bfd_coff_final_link() 1058 for (; irel < irelend; irel++, rel_hash++, erel += relsz) in _bfd_coff_final_link() 1063 irel->r_symndx = (*rel_hash)->indx; in _bfd_coff_final_link() 1065 bfd_coff_swap_reloc_out (abfd, irel, erel); in _bfd_coff_final_link() 1339 struct internal_reloc * irel; in mark_relocs() local 1362 irel = internal_relocs; in mark_relocs() 1363 irelend = irel + a->reloc_count; in mark_relocs() 1369 for (; irel < irelend; irel++) in mark_relocs() [all …]
|
D | elf64-alpha.c | 3041 Elf_Internal_Rela *irel, unsigned long r_type) in elf64_alpha_relax_got_load() argument 3047 insn = bfd_get_32 (info->abfd, info->contents + irel->r_offset); in elf64_alpha_relax_got_load() 3055 (unsigned long) irel->r_offset, howto->name)); in elf64_alpha_relax_got_load() 3120 bfd_put_32 (info->abfd, (bfd_vma) insn, info->contents + irel->r_offset); in elf64_alpha_relax_got_load() 3134 irel->r_info = ELF64_R_INFO (ELF64_R_SYM (irel->r_info), r_type); in elf64_alpha_relax_got_load() 3225 bfd_vma symval, Elf_Internal_Rela *irel) in elf64_alpha_relax_with_lituse() argument 3242 lit_insn = bfd_get_32 (abfd, contents + irel->r_offset); in elf64_alpha_relax_with_lituse() 3248 (unsigned long) irel->r_offset)); in elf64_alpha_relax_with_lituse() 3262 for (erel = irel+1, flags = 0; erel < irelend; ++erel) in elf64_alpha_relax_with_lituse() 3273 for (urel = irel+1; urel < erel; ++urel) in elf64_alpha_relax_with_lituse() [all …]
|
D | xcofflink.c | 4035 struct internal_reloc *irel, asection *hsec, in xcoff_create_ldrel() argument 4040 ldrel.l_vaddr = irel->r_vaddr; in xcoff_create_ldrel() 4076 ldrel.l_rtype = (irel->r_size << 8) | irel->r_type; in xcoff_create_ldrel() 4785 struct internal_reloc *irel; in xcoff_link_input_bfd() local 4812 irel = internal_relocs; in xcoff_link_input_bfd() 4813 irelend = irel + o->reloc_count; in xcoff_link_input_bfd() 4816 for (; irel < irelend; irel++, rel_hash++) in xcoff_link_input_bfd() 4824 irel->r_vaddr += offset; in xcoff_link_input_bfd() 4826 r_symndx = irel->r_symndx; in xcoff_link_input_bfd() 4837 && (irel->r_type == R_TOC in xcoff_link_input_bfd() [all …]
|
D | elfnn-ia64.c | 333 Elf_Internal_Rela *irel, *irelend; in elfNN_ia64_relax_section() local 389 for (irel = internal_relocs; irel < irelend; irel++) in elfNN_ia64_relax_section() 391 unsigned long r_type = ELFNN_R_TYPE (irel->r_info); in elfNN_ia64_relax_section() 444 if (ELFNN_R_SYM (irel->r_info) < symtab_hdr->sh_info) in elfNN_ia64_relax_section() 461 isym = isymbuf + ELFNN_R_SYM (irel->r_info); in elfNN_ia64_relax_section() 474 dyn_i = get_dyn_sym_info (ia64_info, NULL, abfd, irel, FALSE); in elfNN_ia64_relax_section() 482 indx = ELFNN_R_SYM (irel->r_info) - symtab_hdr->sh_info; in elfNN_ia64_relax_section() 490 dyn_i = get_dyn_sym_info (ia64_info, h, abfd, irel, FALSE); in elfNN_ia64_relax_section() 503 BFD_ASSERT (irel->r_addend == 0); in elfNN_ia64_relax_section() 543 toff += irel->r_addend; in elfNN_ia64_relax_section() [all …]
|
D | elf64-mmix.c | 2560 Elf_Internal_Rela *irel, *irelend; in mmix_elf_relax_section() local 2610 for (irel = internal_relocs; irel < irelend; irel++) in mmix_elf_relax_section() 2616 if (ELF64_R_TYPE (irel->r_info) != (int) R_MMIX_BASE_PLUS_OFFSET in mmix_elf_relax_section() 2617 && ELF64_R_TYPE (irel->r_info) != (int) R_MMIX_PUSHJ_STUBBABLE) in mmix_elf_relax_section() 2631 if (ELF64_R_TYPE (irel->r_info) == R_MMIX_PUSHJ_STUBBABLE) in mmix_elf_relax_section() 2651 - (sec->output_offset + irel->r_offset) in mmix_elf_relax_section() 2669 if (ELF64_R_SYM (irel->r_info) < symtab_hdr->sh_info) in mmix_elf_relax_section() 2687 isym = isymbuf + ELF64_R_SYM (irel->r_info); in mmix_elf_relax_section() 2705 indx = ELF64_R_SYM (irel->r_info) - symtab_hdr->sh_info; in mmix_elf_relax_section() 2715 if (ELF64_R_TYPE (irel->r_info) == R_MMIX_BASE_PLUS_OFFSET in mmix_elf_relax_section() [all …]
|
D | elf64-ia64-vms.c | 336 Elf_Internal_Rela *irel, *irelend; in elf64_ia64_relax_section() local 391 for (irel = internal_relocs; irel < irelend; irel++) in elf64_ia64_relax_section() 393 unsigned long r_type = ELF64_R_TYPE (irel->r_info); in elf64_ia64_relax_section() 445 if (ELF64_R_SYM (irel->r_info) < symtab_hdr->sh_info) in elf64_ia64_relax_section() 462 isym = isymbuf + ELF64_R_SYM (irel->r_info); in elf64_ia64_relax_section() 475 dyn_i = get_dyn_sym_info (ia64_info, NULL, abfd, irel, FALSE); in elf64_ia64_relax_section() 482 indx = ELF64_R_SYM (irel->r_info) - symtab_hdr->sh_info; in elf64_ia64_relax_section() 490 dyn_i = get_dyn_sym_info (ia64_info, h, abfd, irel, FALSE); in elf64_ia64_relax_section() 503 BFD_ASSERT (irel->r_addend == 0); in elf64_ia64_relax_section() 522 toff += irel->r_addend; in elf64_ia64_relax_section() [all …]
|