| /netbsd/src/external/gpl3/binutils/dist/bfd/ |
| D | elf-m10200.c | 568 Elf_Internal_Rela *internal_relocs; in mn10200_elf_relax_section() local 589 internal_relocs = (_bfd_elf_link_read_relocs in mn10200_elf_relax_section() 592 if (internal_relocs == NULL) in mn10200_elf_relax_section() 596 irelend = internal_relocs + sec->reloc_count; in mn10200_elf_relax_section() 597 for (irel = internal_relocs; irel < irelend; irel++) in mn10200_elf_relax_section() 710 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 763 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 849 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 968 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 1007 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() [all …]
|
| D | elf32-crx.c | 731 Elf_Internal_Rela *internal_relocs = NULL; in elf32_crx_get_relocated_section_contents() local 763 internal_relocs = (_bfd_elf_link_read_relocs in elf32_crx_get_relocated_section_contents() 766 if (internal_relocs == NULL) in elf32_crx_get_relocated_section_contents() 804 input_section, data, internal_relocs, in elf32_crx_get_relocated_section_contents() 811 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents() 812 free (internal_relocs); in elf32_crx_get_relocated_section_contents() 821 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents() 822 free (internal_relocs); in elf32_crx_get_relocated_section_contents() 964 Elf_Internal_Rela *internal_relocs; in elf32_crx_relax_section() local 985 internal_relocs = (_bfd_elf_link_read_relocs in elf32_crx_relax_section() [all …]
|
| D | elf32-h8300.c | 695 Elf_Internal_Rela *internal_relocs; in elf32_h8_relax_section() local 718 internal_relocs = (_bfd_elf_link_read_relocs in elf32_h8_relax_section() 721 if (internal_relocs == NULL) in elf32_h8_relax_section() 730 irelend = internal_relocs + sec->reloc_count; in elf32_h8_relax_section() 731 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 | 70 Elf_Internal_Rela *internal_relocs, Elf_Internal_Rela *irelend, 73 (bfd *abfd, asection *sec, Elf_Internal_Rela *internal_relocs, 8747 Elf_Internal_Rela *internal_relocs, in is_convert_32_to_16() argument 8786 while ((pc_rel - 1) >= internal_relocs && pc_rel[-1].r_offset == offset) in is_convert_32_to_16() 8856 Elf_Internal_Rela *internal_relocs, in nds32_elf_write_16() argument 8868 while ((pc_rel - 1) > internal_relocs && pc_rel[-1].r_offset == offset) in nds32_elf_write_16() 9182 Elf_Internal_Rela *internal_relocs; in nds32_elf_relax_delete_blanks() local 9238 internal_relocs = _bfd_elf_link_read_relocs (abfd, sect, NULL, NULL, in nds32_elf_relax_delete_blanks() 9240 irelend = internal_relocs + sect->reloc_count; in nds32_elf_relax_delete_blanks() 9251 for (irel = internal_relocs; irel < irelend; irel++) in nds32_elf_relax_delete_blanks() [all …]
|
| D | coff-sh.c | 713 struct internal_reloc *internal_relocs; in sh_relax_section() local 734 internal_relocs = (_bfd_coff_read_internal_relocs in sh_relax_section() 738 if (internal_relocs == NULL) in sh_relax_section() 743 irelend = internal_relocs + sec->reloc_count; in sh_relax_section() 744 for (irel = internal_relocs; irel < irelend; irel++) in sh_relax_section() 819 for (irelfn = internal_relocs; irelfn < irelend; irelfn++) in sh_relax_section() 909 coff_section_data (abfd, sec)->relocs = internal_relocs; in sh_relax_section() 938 for (irelscan = internal_relocs; irelscan < irelend; irelscan++) in sh_relax_section() 954 for (irelcount = internal_relocs; irelcount < irelend; irelcount++) in sh_relax_section() 1021 if (! sh_align_loads (abfd, sec, internal_relocs, contents, &swapped)) in sh_relax_section() [all …]
|
| D | elf32-cr16.c | 1470 Elf_Internal_Rela *internal_relocs = NULL; in elf32_cr16_get_relocated_section_contents() local 1502 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, input_section, in elf32_cr16_get_relocated_section_contents() 1504 if (internal_relocs == NULL) in elf32_cr16_get_relocated_section_contents() 1542 input_section, data, internal_relocs, in elf32_cr16_get_relocated_section_contents() 1549 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1550 free (internal_relocs); in elf32_cr16_get_relocated_section_contents() 1559 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1560 free (internal_relocs); in elf32_cr16_get_relocated_section_contents() 1709 Elf_Internal_Rela *internal_relocs; in elf32_cr16_relax_section() local 1730 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in elf32_cr16_relax_section() [all …]
|
| D | elf32-epiphany.c | 184 Elf_Internal_Rela *internal_relocs; in epiphany_elf_relax_section() local 224 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in epiphany_elf_relax_section() 226 if (internal_relocs == NULL) in epiphany_elf_relax_section() 269 misc.irelbase = internal_relocs; in epiphany_elf_relax_section() 345 if (elf_section_data (sec)->relocs != internal_relocs) in epiphany_elf_relax_section() 346 free (internal_relocs); in epiphany_elf_relax_section() 355 if (elf_section_data (sec)->relocs != internal_relocs) in epiphany_elf_relax_section() 356 free (internal_relocs); in epiphany_elf_relax_section()
|
| D | elf32-avr.c | 2461 Elf_Internal_Rela *internal_relocs; in elf32_avr_relax_section() local 2539 internal_relocs = (_bfd_elf_link_read_relocs in elf32_avr_relax_section() 2541 if (internal_relocs == NULL) in elf32_avr_relax_section() 2545 irelend = internal_relocs + sec->reloc_count; in elf32_avr_relax_section() 2546 for (irel = internal_relocs; irel < irelend; irel++) in elf32_avr_relax_section() 2708 elf_section_data (sec)->relocs = internal_relocs; in elf32_avr_relax_section() 3074 elf_section_data (sec)->relocs = internal_relocs; in elf32_avr_relax_section() 3171 if (elf_section_data (sec)->relocs != internal_relocs) in elf32_avr_relax_section() 3172 free (internal_relocs); in elf32_avr_relax_section() 3181 if (elf_section_data (sec)->relocs != internal_relocs) in elf32_avr_relax_section() [all …]
|
| D | elf-m10300.c | 2640 Elf_Internal_Rela *internal_relocs = NULL; in mn10300_elf_relax_section() local 2719 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, section, in mn10300_elf_relax_section() 2722 if (internal_relocs == NULL) in mn10300_elf_relax_section() 2726 irel = internal_relocs; in mn10300_elf_relax_section() 2919 if (elf_section_data (section)->relocs != internal_relocs) in mn10300_elf_relax_section() 2920 free (internal_relocs); in mn10300_elf_relax_section() 2921 internal_relocs = NULL; in mn10300_elf_relax_section() 3046 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, section, in mn10300_elf_relax_section() 3049 if (internal_relocs == NULL) in mn10300_elf_relax_section() 3121 elf_section_data (section)->relocs = internal_relocs; in mn10300_elf_relax_section() [all …]
|
| D | elf32-m68hc11.c | 694 Elf_Internal_Rela *internal_relocs; in m68hc11_elf_relax_section() local 721 internal_relocs = (_bfd_elf_link_read_relocs in m68hc11_elf_relax_section() 724 if (internal_relocs == NULL) in m68hc11_elf_relax_section() 727 free_relocs = internal_relocs; in m68hc11_elf_relax_section() 731 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in m68hc11_elf_relax_section() 735 irelend = internal_relocs + sec->reloc_count; in m68hc11_elf_relax_section() 736 for (irel = internal_relocs; irel < irelend; irel++) in m68hc11_elf_relax_section() 982 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section() 1013 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section() 1058 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
|
| D | elf32-xtensa.c | 871 Elf_Internal_Rela *internal_relocs, *irel, *rel_end; in xtensa_read_table_entries() local 918 internal_relocs = retrieve_internal_relocs (abfd, table_section, true); in xtensa_read_table_entries() 919 if (internal_relocs && !table_section->reloc_done) in xtensa_read_table_entries() 921 qsort (internal_relocs, table_section->reloc_count, in xtensa_read_table_entries() 923 irel = internal_relocs; in xtensa_read_table_entries() 929 rel_end = internal_relocs + table_section->reloc_count; in xtensa_read_table_entries() 978 release_internal_relocs (table_section, internal_relocs); in xtensa_read_table_entries() 6334 Elf_Internal_Rela *internal_relocs = NULL; in section_cache_section() local 6351 internal_relocs = retrieve_internal_relocs (abfd, sec, in section_cache_section() 6367 sec_cache->relocs = internal_relocs; in section_cache_section() [all …]
|
| D | elf32-ft32.c | 1081 Elf_Internal_Rela * internal_relocs; in ft32_elf_relax_section() local 1127 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in ft32_elf_relax_section() 1129 if (internal_relocs == NULL) in ft32_elf_relax_section() 1132 free_relocs = internal_relocs; in ft32_elf_relax_section() 1135 irelend = internal_relocs + sec->reloc_count; in ft32_elf_relax_section() 1139 irel = internal_relocs; in ft32_elf_relax_section() 1231 if (elf_section_data (sec)->relocs != internal_relocs) in ft32_elf_relax_section() 1232 free (internal_relocs); in ft32_elf_relax_section()
|
| D | elf64-mmix.c | 2022 Elf_Internal_Rela *internal_relocs; in _bfd_mmix_check_all_relocs() local 2032 internal_relocs in _bfd_mmix_check_all_relocs() 2036 if (internal_relocs == NULL) in _bfd_mmix_check_all_relocs() 2039 ok = mmix_elf_check_common_relocs (abfd, info, o, internal_relocs); in _bfd_mmix_check_all_relocs() 2042 free (internal_relocs); in _bfd_mmix_check_all_relocs() 2521 Elf_Internal_Rela *internal_relocs; in mmix_elf_relax_section() local 2564 internal_relocs in mmix_elf_relax_section() 2568 if (internal_relocs == NULL) in mmix_elf_relax_section() 2572 irelend = internal_relocs + sec->reloc_count; in mmix_elf_relax_section() 2573 for (irel = internal_relocs; irel < irelend; irel++) in mmix_elf_relax_section() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/bfd/ |
| D | elf-m10200.c | 568 Elf_Internal_Rela *internal_relocs; in mn10200_elf_relax_section() local 589 internal_relocs = (_bfd_elf_link_read_relocs in mn10200_elf_relax_section() 592 if (internal_relocs == NULL) in mn10200_elf_relax_section() 596 irelend = internal_relocs + sec->reloc_count; in mn10200_elf_relax_section() 597 for (irel = internal_relocs; irel < irelend; irel++) in mn10200_elf_relax_section() 710 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 763 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 849 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 968 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() 1007 elf_section_data (sec)->relocs = internal_relocs; in mn10200_elf_relax_section() [all …]
|
| D | elf32-crx.c | 731 Elf_Internal_Rela *internal_relocs = NULL; in elf32_crx_get_relocated_section_contents() local 763 internal_relocs = (_bfd_elf_link_read_relocs in elf32_crx_get_relocated_section_contents() 766 if (internal_relocs == NULL) in elf32_crx_get_relocated_section_contents() 804 input_section, data, internal_relocs, in elf32_crx_get_relocated_section_contents() 811 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents() 812 free (internal_relocs); in elf32_crx_get_relocated_section_contents() 821 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_crx_get_relocated_section_contents() 822 free (internal_relocs); in elf32_crx_get_relocated_section_contents() 964 Elf_Internal_Rela *internal_relocs; in elf32_crx_relax_section() local 985 internal_relocs = (_bfd_elf_link_read_relocs in elf32_crx_relax_section() [all …]
|
| D | elf32-h8300.c | 695 Elf_Internal_Rela *internal_relocs; in elf32_h8_relax_section() local 718 internal_relocs = (_bfd_elf_link_read_relocs in elf32_h8_relax_section() 721 if (internal_relocs == NULL) in elf32_h8_relax_section() 730 irelend = internal_relocs + sec->reloc_count; in elf32_h8_relax_section() 731 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 | 70 Elf_Internal_Rela *internal_relocs, Elf_Internal_Rela *irelend, 73 (bfd *abfd, asection *sec, Elf_Internal_Rela *internal_relocs, 8748 Elf_Internal_Rela *internal_relocs, in is_convert_32_to_16() argument 8787 while ((pc_rel - 1) >= internal_relocs && pc_rel[-1].r_offset == offset) in is_convert_32_to_16() 8857 Elf_Internal_Rela *internal_relocs, in nds32_elf_write_16() argument 8869 while ((pc_rel - 1) > internal_relocs && pc_rel[-1].r_offset == offset) in nds32_elf_write_16() 9183 Elf_Internal_Rela *internal_relocs; in nds32_elf_relax_delete_blanks() local 9239 internal_relocs = _bfd_elf_link_read_relocs (abfd, sect, NULL, NULL, in nds32_elf_relax_delete_blanks() 9241 irelend = internal_relocs + sect->reloc_count; in nds32_elf_relax_delete_blanks() 9252 for (irel = internal_relocs; irel < irelend; irel++) in nds32_elf_relax_delete_blanks() [all …]
|
| D | coff-sh.c | 713 struct internal_reloc *internal_relocs; in sh_relax_section() local 734 internal_relocs = (_bfd_coff_read_internal_relocs in sh_relax_section() 738 if (internal_relocs == NULL) in sh_relax_section() 743 irelend = internal_relocs + sec->reloc_count; in sh_relax_section() 744 for (irel = internal_relocs; irel < irelend; irel++) in sh_relax_section() 819 for (irelfn = internal_relocs; irelfn < irelend; irelfn++) in sh_relax_section() 909 coff_section_data (abfd, sec)->relocs = internal_relocs; in sh_relax_section() 938 for (irelscan = internal_relocs; irelscan < irelend; irelscan++) in sh_relax_section() 954 for (irelcount = internal_relocs; irelcount < irelend; irelcount++) in sh_relax_section() 1021 if (! sh_align_loads (abfd, sec, internal_relocs, contents, &swapped)) in sh_relax_section() [all …]
|
| D | elf32-cr16.c | 1470 Elf_Internal_Rela *internal_relocs = NULL; in elf32_cr16_get_relocated_section_contents() local 1502 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, input_section, in elf32_cr16_get_relocated_section_contents() 1504 if (internal_relocs == NULL) in elf32_cr16_get_relocated_section_contents() 1542 input_section, data, internal_relocs, in elf32_cr16_get_relocated_section_contents() 1549 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1550 free (internal_relocs); in elf32_cr16_get_relocated_section_contents() 1559 if (elf_section_data (input_section)->relocs != internal_relocs) in elf32_cr16_get_relocated_section_contents() 1560 free (internal_relocs); in elf32_cr16_get_relocated_section_contents() 1709 Elf_Internal_Rela *internal_relocs; in elf32_cr16_relax_section() local 1730 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in elf32_cr16_relax_section() [all …]
|
| D | elf32-epiphany.c | 184 Elf_Internal_Rela *internal_relocs; in epiphany_elf_relax_section() local 224 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in epiphany_elf_relax_section() 226 if (internal_relocs == NULL) in epiphany_elf_relax_section() 269 misc.irelbase = internal_relocs; in epiphany_elf_relax_section() 345 if (elf_section_data (sec)->relocs != internal_relocs) in epiphany_elf_relax_section() 346 free (internal_relocs); in epiphany_elf_relax_section() 355 if (elf_section_data (sec)->relocs != internal_relocs) in epiphany_elf_relax_section() 356 free (internal_relocs); in epiphany_elf_relax_section()
|
| D | elf32-avr.c | 2461 Elf_Internal_Rela *internal_relocs; in elf32_avr_relax_section() local 2539 internal_relocs = (_bfd_elf_link_read_relocs in elf32_avr_relax_section() 2541 if (internal_relocs == NULL) in elf32_avr_relax_section() 2545 irelend = internal_relocs + sec->reloc_count; in elf32_avr_relax_section() 2546 for (irel = internal_relocs; irel < irelend; irel++) in elf32_avr_relax_section() 2708 elf_section_data (sec)->relocs = internal_relocs; in elf32_avr_relax_section() 3074 elf_section_data (sec)->relocs = internal_relocs; in elf32_avr_relax_section() 3171 if (elf_section_data (sec)->relocs != internal_relocs) in elf32_avr_relax_section() 3172 free (internal_relocs); in elf32_avr_relax_section() 3181 if (elf_section_data (sec)->relocs != internal_relocs) in elf32_avr_relax_section() [all …]
|
| D | elf-m10300.c | 2640 Elf_Internal_Rela *internal_relocs = NULL; in mn10300_elf_relax_section() local 2719 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, section, in mn10300_elf_relax_section() 2722 if (internal_relocs == NULL) in mn10300_elf_relax_section() 2726 irel = internal_relocs; in mn10300_elf_relax_section() 2919 if (elf_section_data (section)->relocs != internal_relocs) in mn10300_elf_relax_section() 2920 free (internal_relocs); in mn10300_elf_relax_section() 2921 internal_relocs = NULL; in mn10300_elf_relax_section() 3046 internal_relocs = _bfd_elf_link_read_relocs (input_bfd, section, in mn10300_elf_relax_section() 3049 if (internal_relocs == NULL) in mn10300_elf_relax_section() 3121 elf_section_data (section)->relocs = internal_relocs; in mn10300_elf_relax_section() [all …]
|
| D | elf32-m68hc11.c | 694 Elf_Internal_Rela *internal_relocs; in m68hc11_elf_relax_section() local 721 internal_relocs = (_bfd_elf_link_read_relocs in m68hc11_elf_relax_section() 724 if (internal_relocs == NULL) in m68hc11_elf_relax_section() 727 free_relocs = internal_relocs; in m68hc11_elf_relax_section() 731 qsort (internal_relocs, sec->reloc_count, sizeof (Elf_Internal_Rela), in m68hc11_elf_relax_section() 735 irelend = internal_relocs + sec->reloc_count; in m68hc11_elf_relax_section() 736 for (irel = internal_relocs; irel < irelend; irel++) in m68hc11_elf_relax_section() 982 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section() 1013 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section() 1058 elf_section_data (sec)->relocs = internal_relocs; in m68hc11_elf_relax_section()
|
| D | elf32-xtensa.c | 871 Elf_Internal_Rela *internal_relocs, *irel, *rel_end; in xtensa_read_table_entries() local 918 internal_relocs = retrieve_internal_relocs (abfd, table_section, true); in xtensa_read_table_entries() 919 if (internal_relocs && !table_section->reloc_done) in xtensa_read_table_entries() 921 qsort (internal_relocs, table_section->reloc_count, in xtensa_read_table_entries() 923 irel = internal_relocs; in xtensa_read_table_entries() 929 rel_end = internal_relocs + table_section->reloc_count; in xtensa_read_table_entries() 978 release_internal_relocs (table_section, internal_relocs); in xtensa_read_table_entries() 6333 Elf_Internal_Rela *internal_relocs = NULL; in section_cache_section() local 6350 internal_relocs = retrieve_internal_relocs (abfd, sec, in section_cache_section() 6366 sec_cache->relocs = internal_relocs; in section_cache_section() [all …]
|
| D | elf32-ft32.c | 1081 Elf_Internal_Rela * internal_relocs; in ft32_elf_relax_section() local 1127 internal_relocs = _bfd_elf_link_read_relocs (abfd, sec, NULL, NULL, in ft32_elf_relax_section() 1129 if (internal_relocs == NULL) in ft32_elf_relax_section() 1132 free_relocs = internal_relocs; in ft32_elf_relax_section() 1135 irelend = internal_relocs + sec->reloc_count; in ft32_elf_relax_section() 1139 irel = internal_relocs; in ft32_elf_relax_section() 1231 if (elf_section_data (sec)->relocs != internal_relocs) in ft32_elf_relax_section() 1232 free (internal_relocs); in ft32_elf_relax_section()
|