/toolchain/binutils/binutils-2.25/bfd/ |
D | elf-m10200.c | 564 Elf_Internal_Rela *internal_relocs; in mn10200_elf_relax_section() local 584 internal_relocs = (_bfd_elf_link_read_relocs in mn10200_elf_relax_section() 587 if (internal_relocs == NULL) in mn10200_elf_relax_section() 591 irelend = internal_relocs + sec->reloc_count; in mn10200_elf_relax_section() 592 for (irel = internal_relocs; irel < irelend; irel++) in mn10200_elf_relax_section() 705 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 758 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 850 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 969 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 1008 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() [all …]
|
D | elf32-crx.c | 730 Elf_Internal_Rela *internal_relocs = NULL; in elf32_crx_get_relocated_section_contents() local 755 internal_relocs = (_bfd_elf_link_read_relocs in elf32_crx_get_relocated_section_contents() 758 if (internal_relocs == NULL) in elf32_crx_get_relocated_section_contents() 796 input_section, data, internal_relocs, in elf32_crx_get_relocated_section_contents() 805 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents() 806 free (internal_relocs); in elf32_crx_get_relocated_section_contents() 817 if (internal_relocs != NULL in elf32_crx_get_relocated_section_contents() 818 && elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents() 819 free (internal_relocs); in elf32_crx_get_relocated_section_contents() 965 Elf_Internal_Rela *internal_relocs; in elf32_crx_relax_section() local [all …]
|
D | elf32-h8300.c | 697 Elf_Internal_Rela *internal_relocs; in elf32_h8_relax_section() local 719 internal_relocs = (_bfd_elf_link_read_relocs in elf32_h8_relax_section() 722 if (internal_relocs == NULL) in elf32_h8_relax_section() 731 irelend = internal_relocs + sec->reloc_count; in elf32_h8_relax_section() 732 for (irel = internal_relocs; irel < irelend; irel++) in elf32_h8_relax_section() 743 if (irel != internal_relocs) in elf32_h8_relax_section() 856 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section() 992 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section() 1060 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section() 1148 elf_section_data (sec)->relocs = internal_relocs; in elf32_h8_relax_section() [all …]
|
D | elf32-nds32.c | 132 Elf_Internal_Rela *internal_relocs, Elf_Internal_Rela *irelend, 135 (bfd *abfd, asection *sec, Elf_Internal_Rela *internal_relocs, 8118 Elf_Internal_Rela *internal_relocs, in is_convert_32_to_16() argument 8158 while ((pc_rel - 1) >= internal_relocs && pc_rel[-1].r_offset == offset) in is_convert_32_to_16() 8230 Elf_Internal_Rela *internal_relocs, in nds32_elf_write_16() argument 8242 while ((pc_rel - 1) > internal_relocs && pc_rel[-1].r_offset == offset) in nds32_elf_write_16() 8349 Elf_Internal_Rela *internal_relocs, in nds32_elf_check_dup_relocs() argument 8356 rel_t >= internal_relocs && rel_t->r_offset == reloc->r_offset; in nds32_elf_check_dup_relocs() 8587 Elf_Internal_Rela *internal_relocs; in nds32_elf_relax_delete_blanks() local 8643 internal_relocs = _bfd_elf_link_read_relocs (abfd, sect, NULL, NULL, in nds32_elf_relax_delete_blanks() [all …]
|
D | elf32-cr16.c | 1527 Elf_Internal_Rela *internal_relocs = NULL; in elf32_cr16_get_relocated_section_contents() local 1552 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, input_section, in elf32_cr16_get_relocated_section_contents() 1554 if (internal_relocs == NULL) in elf32_cr16_get_relocated_section_contents() 1592 input_section, data, internal_relocs, in elf32_cr16_get_relocated_section_contents() 1601 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1602 free (internal_relocs); in elf32_cr16_get_relocated_section_contents() 1613 if (internal_relocs != NULL in elf32_cr16_get_relocated_section_contents() 1614 && elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1615 free (internal_relocs); in elf32_cr16_get_relocated_section_contents() 1762 Elf_Internal_Rela *internal_relocs; in elf32_cr16_relax_section() local [all …]
|
D | elf32-epiphany.c | 184 Elf_Internal_Rela *internal_relocs; in epiphany_elf_relax_section() local 223 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in epiphany_elf_relax_section() 225 if (internal_relocs == NULL) in epiphany_elf_relax_section() 268 misc.irelbase = internal_relocs; in epiphany_elf_relax_section() 344 if (internal_relocs != NULL in epiphany_elf_relax_section() 345 && elf_section_data (sec)->relocs != internal_relocs) in epiphany_elf_relax_section() 346 free (internal_relocs); in epiphany_elf_relax_section() 357 if (internal_relocs != NULL in epiphany_elf_relax_section() 358 && elf_section_data (sec)->relocs != internal_relocs) in epiphany_elf_relax_section() 359 free (internal_relocs); in epiphany_elf_relax_section()
|
D | coff-sh.c | 709 struct internal_reloc *internal_relocs; in sh_relax_section() local 729 internal_relocs = (_bfd_coff_read_internal_relocs in sh_relax_section() 733 if (internal_relocs == NULL) in sh_relax_section() 738 irelend = internal_relocs + sec->reloc_count; in sh_relax_section() 739 for (irel = internal_relocs; irel < irelend; irel++) in sh_relax_section() 810 for (irelfn = internal_relocs; irelfn < irelend; irelfn++) in sh_relax_section() 898 coff_section_data (abfd, sec)->relocs = internal_relocs; in sh_relax_section() 932 for (irelscan = internal_relocs; irelscan < irelend; irelscan++) in sh_relax_section() 948 for (irelcount = internal_relocs; irelcount < irelend; irelcount++) in sh_relax_section() 1013 if (! sh_align_loads (abfd, sec, internal_relocs, contents, &swapped)) in sh_relax_section() [all …]
|
D | elf-m10300.c | 2654 Elf_Internal_Rela *internal_relocs = NULL; in mn10300_elf_relax_section() local 2732 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, section, in mn10300_elf_relax_section() 2735 if (internal_relocs == NULL) in mn10300_elf_relax_section() 2739 irel = internal_relocs; in mn10300_elf_relax_section() 2932 if (internal_relocs != NULL in mn10300_elf_relax_section() 2933 && elf_section_data (section)->relocs != internal_relocs) in mn10300_elf_relax_section() 2934 free (internal_relocs); in mn10300_elf_relax_section() 2935 internal_relocs = NULL; in mn10300_elf_relax_section() 3058 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, section, in mn10300_elf_relax_section() 3061 if (internal_relocs == NULL) in mn10300_elf_relax_section() [all …]
|
D | elf32-avr.c | 1973 Elf_Internal_Rela *internal_relocs; in elf32_avr_relax_section() local 2041 internal_relocs = (_bfd_elf_link_read_relocs in elf32_avr_relax_section() 2043 if (internal_relocs == NULL) in elf32_avr_relax_section() 2047 irelend = internal_relocs + sec->reloc_count; in elf32_avr_relax_section() 2048 for (irel = internal_relocs; irel < irelend; irel++) in elf32_avr_relax_section() 2198 elf_section_data (sec)->relocs = internal_relocs; in elf32_avr_relax_section() 2593 if (internal_relocs != NULL in elf32_avr_relax_section() 2594 && elf_section_data (sec)->relocs != internal_relocs) in elf32_avr_relax_section() 2595 free (internal_relocs); in elf32_avr_relax_section() 2606 if (internal_relocs != NULL in elf32_avr_relax_section() [all …]
|
D | elf32-xtensa.c | 789 Elf_Internal_Rela *internal_relocs, *irel, *rel_end; in xtensa_read_table_entries() local 828 internal_relocs = retrieve_internal_relocs (abfd, table_section, TRUE); in xtensa_read_table_entries() 829 if (internal_relocs && !table_section->reloc_done) in xtensa_read_table_entries() 831 qsort (internal_relocs, table_section->reloc_count, in xtensa_read_table_entries() 833 irel = internal_relocs; in xtensa_read_table_entries() 839 rel_end = internal_relocs + table_section->reloc_count; in xtensa_read_table_entries() 888 release_internal_relocs (table_section, internal_relocs); in xtensa_read_table_entries() 6088 Elf_Internal_Rela *internal_relocs = NULL; in section_cache_section() local 6105 internal_relocs = retrieve_internal_relocs (abfd, sec, in section_cache_section() 6121 sec_cache->relocs = internal_relocs; in section_cache_section() [all …]
|
D | elf32-m68hc11.c | 678 Elf_Internal_Rela *internal_relocs; in m68hc11_elf_relax_section() local 704 internal_relocs = (_bfd_elf_link_read_relocs in m68hc11_elf_relax_section() 707 if (internal_relocs == NULL) in m68hc11_elf_relax_section() 710 free_relocs = internal_relocs; in m68hc11_elf_relax_section() 714 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in m68hc11_elf_relax_section() 718 irelend = internal_relocs + sec->reloc_count; in m68hc11_elf_relax_section() 719 for (irel = internal_relocs; irel < irelend; irel++) in m68hc11_elf_relax_section() 965 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section() 996 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section() 1041 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
|
D | elf64-mmix.c | 2050 Elf_Internal_Rela *internal_relocs; in _bfd_mmix_check_all_relocs() local 2060 internal_relocs in _bfd_mmix_check_all_relocs() 2064 if (internal_relocs == NULL) in _bfd_mmix_check_all_relocs() 2067 ok = mmix_elf_check_common_relocs (abfd, info, o, internal_relocs); in _bfd_mmix_check_all_relocs() 2070 free (internal_relocs); in _bfd_mmix_check_all_relocs() 2559 Elf_Internal_Rela *internal_relocs; in mmix_elf_relax_section() local 2601 internal_relocs in mmix_elf_relax_section() 2605 if (internal_relocs == NULL) in mmix_elf_relax_section() 2609 irelend = internal_relocs + sec->reloc_count; in mmix_elf_relax_section() 2610 for (irel = internal_relocs; irel < irelend; irel++) in mmix_elf_relax_section() [all …]
|
D | elf32-ip2k.c | 1069 Elf_Internal_Rela *internal_relocs; in ip2k_elf_relax_section() local 1107 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in ip2k_elf_relax_section() 1109 if (internal_relocs == NULL) in ip2k_elf_relax_section() 1140 misc.irelbase = internal_relocs; in ip2k_elf_relax_section() 1213 if (internal_relocs != NULL in ip2k_elf_relax_section() 1214 && elf_section_data (sec)->relocs != internal_relocs) in ip2k_elf_relax_section() 1215 free (internal_relocs); in ip2k_elf_relax_section() 1226 if (internal_relocs != NULL in ip2k_elf_relax_section() 1227 && elf_section_data (sec)->relocs != internal_relocs) in ip2k_elf_relax_section() 1228 free (internal_relocs); in ip2k_elf_relax_section()
|
D | elf-vxworks.c | 155 Elf_Internal_Rela *internal_relocs, in elf_vxworks_emit_relocs() argument 169 for (irela = internal_relocs, in elf_vxworks_emit_relocs() 210 input_rel_hdr, internal_relocs, in elf_vxworks_emit_relocs()
|
D | cofflink.c | 603 flaginfo.internal_relocs = NULL; in _bfd_coff_final_link() 805 flaginfo.internal_relocs = (struct internal_reloc *) bfd_malloc (amt); in _bfd_coff_final_link() 815 && flaginfo.internal_relocs == NULL in _bfd_coff_final_link() 985 if (flaginfo.internal_relocs != NULL) in _bfd_coff_final_link() 987 free (flaginfo.internal_relocs); in _bfd_coff_final_link() 988 flaginfo.internal_relocs = NULL; in _bfd_coff_final_link() 1186 if (flaginfo.internal_relocs != NULL) in _bfd_coff_final_link() 1187 free (flaginfo.internal_relocs); in _bfd_coff_final_link() 1338 struct internal_reloc * internal_relocs; in mark_relocs() local 1350 internal_relocs = _bfd_coff_read_internal_relocs in mark_relocs() [all …]
|
D | elf32-msp430.c | 1757 Elf_Internal_Rela * internal_relocs; in msp430_elf_relax_section() local 1778 internal_relocs = in msp430_elf_relax_section() 1780 if (internal_relocs == NULL) in msp430_elf_relax_section() 1784 irelend = internal_relocs + sec->reloc_count; in msp430_elf_relax_section() 1787 for (irel = internal_relocs; irel < irelend; irel++) in msp430_elf_relax_section() 1921 elf_section_data (sec)->relocs = internal_relocs; in msp430_elf_relax_section() 1965 for (irel = internal_relocs; irel < irelend; irel++) in msp430_elf_relax_section() 2108 elf_section_data (sec)->relocs = internal_relocs; in msp430_elf_relax_section() 2178 if (internal_relocs != NULL in msp430_elf_relax_section() 2179 && elf_section_data (sec)->relocs != internal_relocs) in msp430_elf_relax_section() [all …]
|
D | elf32-sh.c | 503 Elf_Internal_Rela *internal_relocs; in sh_elf_relax_section() local 526 internal_relocs = (_bfd_elf_link_read_relocs in sh_elf_relax_section() 529 if (internal_relocs == NULL) in sh_elf_relax_section() 534 irelend = internal_relocs + sec->reloc_count; in sh_elf_relax_section() 535 for (irel = internal_relocs; irel < irelend; irel++) in sh_elf_relax_section() 604 for (irelfn = internal_relocs; irelfn < irelend; irelfn++) in sh_elf_relax_section() 701 elf_section_data (sec)->relocs = internal_relocs; in sh_elf_relax_section() 734 for (irelscan = internal_relocs; irelscan < irelend; irelscan++) in sh_elf_relax_section() 750 for (irelcount = internal_relocs; irelcount < irelend; irelcount++) in sh_elf_relax_section() 816 if (! sh_elf_align_loads (abfd, sec, internal_relocs, contents, in sh_elf_relax_section() [all …]
|
D | elf32-v850.c | 3093 Elf_Internal_Rela *internal_relocs; in v850_elf_relax_section() local 3113 internal_relocs = (_bfd_elf_link_read_relocs in v850_elf_relax_section() 3115 if (internal_relocs == NULL) in v850_elf_relax_section() 3118 irelend = internal_relocs + sec->reloc_count; in v850_elf_relax_section() 3124 for (irel = internal_relocs; irel < irelend; irel ++) in v850_elf_relax_section() 3165 for (irel = internal_relocs; irel < irelend; irel++) in v850_elf_relax_section() 3273 for (hi_irelfn = internal_relocs; hi_irelfn < irelend; hi_irelfn ++) in v850_elf_relax_section() 3282 for (lo_irelfn = internal_relocs; lo_irelfn < irelend; lo_irelfn ++) in v850_elf_relax_section() 3291 for (irelcall = internal_relocs; irelcall < irelend; irelcall ++) in v850_elf_relax_section() 3419 elf_section_data (sec)->relocs = internal_relocs; in v850_elf_relax_section() [all …]
|
D | elf32-m32c.c | 1376 Elf_Internal_Rela *internal_relocs; in m32c_elf_relax_section() local 1443 internal_relocs = (_bfd_elf_link_read_relocs in m32c_elf_relax_section() 1446 if (internal_relocs == NULL) in m32c_elf_relax_section() 1449 free_relocs = internal_relocs; in m32c_elf_relax_section() 1453 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in m32c_elf_relax_section() 1457 irelend = internal_relocs + sec->reloc_count; in m32c_elf_relax_section() 1459 for (irel = internal_relocs; irel < irelend; irel++) in m32c_elf_relax_section() 1820 elf_section_data (sec)->relocs = internal_relocs; in m32c_elf_relax_section()
|
D | elf32-rl78.c | 1962 Elf_Internal_Rela * internal_relocs; in rl78_elf_relax_section() local 2036 internal_relocs = (_bfd_elf_link_read_relocs in rl78_elf_relax_section() 2039 if (internal_relocs == NULL) in rl78_elf_relax_section() 2042 free_relocs = internal_relocs; in rl78_elf_relax_section() 2048 reloc_bubblesort (internal_relocs, sec->reloc_count); in rl78_elf_relax_section() 2051 irelend = internal_relocs + sec->reloc_count; in rl78_elf_relax_section() 2056 next_alignment = internal_relocs; in rl78_elf_relax_section() 2063 for (irel = internal_relocs; irel < irelend; irel++) in rl78_elf_relax_section() 2076 for (irel = internal_relocs; irel < irelend; irel++) in rl78_elf_relax_section() 2086 || next_alignment == internal_relocs) in rl78_elf_relax_section()
|
D | elf32-lm32.c | 2334 Elf_Internal_Rela *internal_relocs, *end; in lm32_elf_size_dynamic_sections() local 2335 internal_relocs = elf_section_data (s)->relocs; in lm32_elf_size_dynamic_sections() 2336 if (internal_relocs == NULL) in lm32_elf_size_dynamic_sections() 2337 internal_relocs = (_bfd_elf_link_read_relocs (ibfd, s, NULL, NULL, FALSE)); in lm32_elf_size_dynamic_sections() 2338 if (internal_relocs != NULL) in lm32_elf_size_dynamic_sections() 2340 end = internal_relocs + s->reloc_count; in lm32_elf_size_dynamic_sections() 2341 while (internal_relocs < end) in lm32_elf_size_dynamic_sections() 2350 r_symndx = ELF32_R_SYM (internal_relocs->r_info); in lm32_elf_size_dynamic_sections() 2368 switch (ELF32_R_TYPE (internal_relocs->r_info)) in lm32_elf_size_dynamic_sections() 2391 if (ELF32_R_TYPE (internal_relocs->r_info) == R_LM32_16_GOT) in lm32_elf_size_dynamic_sections() [all …]
|
D | elf32-m68hc1x.c | 413 Elf_Internal_Rela *internal_relocs, *irelaend, *irela; in elf32_m68hc11_size_stubs() local 428 internal_relocs in elf32_m68hc11_size_stubs() 432 if (internal_relocs == NULL) in elf32_m68hc11_size_stubs() 436 irela = internal_relocs; in elf32_m68hc11_size_stubs() 537 free (internal_relocs); in elf32_m68hc11_size_stubs() 548 free (internal_relocs); in elf32_m68hc11_size_stubs()
|
D | coff-ppc.c | 1995 flaginfo.internal_relocs = NULL; in ppc_bfd_coff_final_link() 2181 flaginfo.internal_relocs = (struct internal_reloc *) bfd_malloc (amt); in ppc_bfd_coff_final_link() 2191 && flaginfo.internal_relocs == NULL in ppc_bfd_coff_final_link() 2288 if (flaginfo.internal_relocs != NULL) in ppc_bfd_coff_final_link() 2290 free (flaginfo.internal_relocs); in ppc_bfd_coff_final_link() 2291 flaginfo.internal_relocs = NULL; in ppc_bfd_coff_final_link() 2456 if (flaginfo.internal_relocs != NULL) in ppc_bfd_coff_final_link() 2457 free (flaginfo.internal_relocs); in ppc_bfd_coff_final_link()
|
D | elf64-ia64-vms.c | 335 Elf_Internal_Rela *internal_relocs; in elf64_ia64_relax_section() local 374 internal_relocs = (_bfd_elf_link_read_relocs in elf64_ia64_relax_section() 377 if (internal_relocs == NULL) in elf64_ia64_relax_section() 380 irelend = internal_relocs + sec->reloc_count; in elf64_ia64_relax_section() 391 for (irel = internal_relocs; irel < irelend; irel++) in elf64_ia64_relax_section() 763 if (elf_section_data (sec)->relocs != internal_relocs) in elf64_ia64_relax_section() 766 free (internal_relocs); in elf64_ia64_relax_section() 768 elf_section_data (sec)->relocs = internal_relocs; in elf64_ia64_relax_section() 787 if (internal_relocs != NULL in elf64_ia64_relax_section() 788 && elf_section_data (sec)->relocs != internal_relocs) in elf64_ia64_relax_section() [all …]
|
D | elf64-sh64.c | 2115 Elf_Internal_Rela *internal_relocs = NULL; in sh_elf64_get_relocated_section_contents() local 2151 internal_relocs = (_bfd_elf_link_read_relocs in sh_elf64_get_relocated_section_contents() 2154 if (internal_relocs == NULL) in sh_elf64_get_relocated_section_contents() 2181 input_section, data, internal_relocs, in sh_elf64_get_relocated_section_contents() 2187 if (internal_relocs != elf_section_data (input_section)->relocs) in sh_elf64_get_relocated_section_contents() 2188 free (internal_relocs); in sh_elf64_get_relocated_section_contents() 2199 if (internal_relocs != NULL in sh_elf64_get_relocated_section_contents() 2200 && internal_relocs != elf_section_data (input_section)->relocs) in sh_elf64_get_relocated_section_contents() 2201 free (internal_relocs); in sh_elf64_get_relocated_section_contents()
|