Home
last modified time | relevance | path

Searched refs:external_relocs (Results 1 – 25 of 35) sorted by relevance

12

/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dcofflink.c608 bfd_byte *external_relocs = NULL; in _bfd_coff_final_link() local
626 flaginfo.external_relocs = NULL; in _bfd_coff_final_link()
825 flaginfo.external_relocs = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
837 || (flaginfo.external_relocs == NULL && max_reloc_count > 0) in _bfd_coff_final_link()
975 free (flaginfo.external_relocs); in _bfd_coff_final_link()
976 flaginfo.external_relocs = NULL; in _bfd_coff_final_link()
1026 external_relocs = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
1027 if (external_relocs == NULL) in _bfd_coff_final_link()
1043 erel = external_relocs; in _bfd_coff_final_link()
1072 if (bfd_bwrite (external_relocs, in _bfd_coff_final_link()
[all …]
H A Decoff.c1573 bfd_byte *external_relocs; in ecoff_slurp_reloc_table() local
1589 external_relocs = _bfd_malloc_and_read (abfd, amt, amt); in ecoff_slurp_reloc_table()
1590 if (external_relocs == NULL) in ecoff_slurp_reloc_table()
1598 free (external_relocs); in ecoff_slurp_reloc_table()
1607 external_relocs + i * external_reloc_size, in ecoff_slurp_reloc_table()
1665 free (external_relocs); in ecoff_slurp_reloc_table()
3804 void * external_relocs = NULL; in ecoff_indirect_link_order() local
3828 external_relocs = _bfd_malloc_and_read (input_bfd, external_relocs_size, in ecoff_indirect_link_order()
3830 if (external_relocs == NULL && external_relocs_size != 0) in ecoff_indirect_link_order()
3836 external_relocs))) in ecoff_indirect_link_order()
[all …]
H A Dxcofflink.c199 bfd_byte *external_relocs; member
688 bfd_byte *external_relocs, in xcoff_read_internal_relocs() argument
707 external_relocs, false, NULL) in xcoff_read_internal_relocs()
730 return _bfd_coff_read_internal_relocs (abfd, sec, cache, external_relocs, in xcoff_read_internal_relocs()
5837 (input_bfd, o, false, flinfo->external_relocs, in xcoff_link_input_bfd()
6946 bfd_byte *external_relocs = NULL; in _bfd_xcoff_bfd_final_link() local
6967 flinfo.external_relocs = NULL; in _bfd_xcoff_bfd_final_link()
7265 flinfo.external_relocs = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link()
7272 || (flinfo.external_relocs == NULL && max_reloc_count > 0)) in _bfd_xcoff_bfd_final_link()
7336 free (flinfo.external_relocs); in _bfd_xcoff_bfd_final_link()
[all …]
H A Dlibcoff-in.h515 bfd_byte *external_relocs; member
H A Dcoff-mips.c807 void * external_relocs) in mips_relocate_section() argument
873 ext_rel = (struct external_reloc *) external_relocs; in mips_relocate_section()
H A Dcoffgen.c490 bfd_byte *external_relocs, in _bfd_coff_read_internal_relocs() argument
518 if (external_relocs == NULL) in _bfd_coff_read_internal_relocs()
523 external_relocs = free_external; in _bfd_coff_read_internal_relocs()
527 || bfd_bread (external_relocs, amt, abfd) != amt) in _bfd_coff_read_internal_relocs()
541 erel = external_relocs; in _bfd_coff_read_internal_relocs()
H A Dsom.c5284 unsigned char *external_relocs; in som_slurp_reloc_table() local
5304 external_relocs = _bfd_malloc_and_read (abfd, amt, amt); in som_slurp_reloc_table()
5305 if (external_relocs == NULL) in som_slurp_reloc_table()
5311 section->reloc_count = som_set_reloc_info (external_relocs, in som_slurp_reloc_table()
5315 som_section_data (section)->reloc_stream = external_relocs; in som_slurp_reloc_table()
5323 external_relocs = som_section_data (section)->reloc_stream; in som_slurp_reloc_table()
5338 som_set_reloc_info (external_relocs, fixup_stream_size, in som_slurp_reloc_table()
5343 free (external_relocs); in som_slurp_reloc_table()
H A Delflink.c2638 void *external_relocs, in elf_link_read_relocs_from_section() argument
2654 if (bfd_bread (external_relocs, shdr->sh_size, abfd) != shdr->sh_size) in elf_link_read_relocs_from_section()
2673 erela = (const bfd_byte *) external_relocs; in elf_link_read_relocs_from_section()
2734 void *external_relocs, in _bfd_elf_link_info_read_relocs() argument
2767 if (external_relocs == NULL) in _bfd_elf_link_info_read_relocs()
2779 external_relocs = alloc1; in _bfd_elf_link_info_read_relocs()
2786 external_relocs, in _bfd_elf_link_info_read_relocs()
2789 external_relocs = (((bfd_byte *) external_relocs) in _bfd_elf_link_info_read_relocs()
2797 external_relocs, in _bfd_elf_link_info_read_relocs()
2831 void *external_relocs, in _bfd_elf_link_read_relocs() argument
[all …]
H A Dcoff-alpha.c1342 void * external_relocs) in alpha_relocate_section() argument
1472 ext_rel = (struct external_reloc *) external_relocs; in alpha_relocate_section()
H A Dlibcoff.h519 bfd_byte *external_relocs; member
H A DChangeLog-20202877 * ecoff.c (ecoff_slurp_reloc_table): Malloc external_relocs so
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dcofflink.c640 bfd_byte *external_relocs = NULL; in _bfd_coff_final_link() local
658 flaginfo.external_relocs = NULL; in _bfd_coff_final_link()
857 flaginfo.external_relocs = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
869 || (flaginfo.external_relocs == NULL && max_reloc_count > 0) in _bfd_coff_final_link()
1007 free (flaginfo.external_relocs); in _bfd_coff_final_link()
1008 flaginfo.external_relocs = NULL; in _bfd_coff_final_link()
1058 external_relocs = (bfd_byte *) bfd_malloc (amt); in _bfd_coff_final_link()
1059 if (external_relocs == NULL) in _bfd_coff_final_link()
1075 erel = external_relocs; in _bfd_coff_final_link()
1104 if (bfd_write (external_relocs, in _bfd_coff_final_link()
[all …]
H A Decoff.c1649 bfd_byte *external_relocs; in ecoff_slurp_reloc_table() local
1665 external_relocs = _bfd_malloc_and_read (abfd, amt, amt); in ecoff_slurp_reloc_table()
1666 if (external_relocs == NULL) in ecoff_slurp_reloc_table()
1674 free (external_relocs); in ecoff_slurp_reloc_table()
1683 external_relocs + i * external_reloc_size, in ecoff_slurp_reloc_table()
1742 free (external_relocs); in ecoff_slurp_reloc_table()
3856 void * external_relocs = NULL; in ecoff_indirect_link_order() local
3880 external_relocs = _bfd_malloc_and_read (input_bfd, external_relocs_size, in ecoff_indirect_link_order()
3882 if (external_relocs == NULL && external_relocs_size != 0) in ecoff_indirect_link_order()
3888 external_relocs))) in ecoff_indirect_link_order()
[all …]
H A Dxcofflink.c199 bfd_byte *external_relocs; member
686 bfd_byte *external_relocs, in xcoff_read_internal_relocs() argument
705 external_relocs, false, NULL) in xcoff_read_internal_relocs()
728 return _bfd_coff_read_internal_relocs (abfd, sec, cache, external_relocs, in xcoff_read_internal_relocs()
5828 (input_bfd, o, false, flinfo->external_relocs, in xcoff_link_input_bfd()
6937 bfd_byte *external_relocs = NULL; in _bfd_xcoff_bfd_final_link() local
6958 flinfo.external_relocs = NULL; in _bfd_xcoff_bfd_final_link()
7258 flinfo.external_relocs = bfd_malloc (amt); in _bfd_xcoff_bfd_final_link()
7265 || (flinfo.external_relocs == NULL && max_reloc_count > 0)) in _bfd_xcoff_bfd_final_link()
7329 free (flinfo.external_relocs); in _bfd_xcoff_bfd_final_link()
[all …]
H A Dlibcoff-in.h556 bfd_byte *external_relocs; member
H A Dcoff-mips.c796 void * external_relocs) in mips_relocate_section() argument
862 ext_rel = (struct external_reloc *) external_relocs; in mips_relocate_section()
H A Dcoffgen.c603 bfd_byte *external_relocs, in _bfd_coff_read_internal_relocs() argument
631 if (external_relocs == NULL) in _bfd_coff_read_internal_relocs()
636 external_relocs = free_external; in _bfd_coff_read_internal_relocs()
640 || bfd_read (external_relocs, amt, abfd) != amt) in _bfd_coff_read_internal_relocs()
654 erel = external_relocs; in _bfd_coff_read_internal_relocs()
H A Dsom.c5211 unsigned char *external_relocs; in som_slurp_reloc_table() local
5231 external_relocs = _bfd_malloc_and_read (abfd, amt, amt); in som_slurp_reloc_table()
5232 if (external_relocs == NULL) in som_slurp_reloc_table()
5238 section->reloc_count = som_set_reloc_info (external_relocs, in som_slurp_reloc_table()
5242 som_section_data (section)->reloc_stream = external_relocs; in som_slurp_reloc_table()
5250 external_relocs = som_section_data (section)->reloc_stream; in som_slurp_reloc_table()
5265 som_set_reloc_info (external_relocs, fixup_stream_size, in som_slurp_reloc_table()
5270 free (external_relocs); in som_slurp_reloc_table()
H A Delflink.c2663 void *external_relocs, in elf_link_read_relocs_from_section() argument
2679 if (bfd_read (external_relocs, shdr->sh_size, abfd) != shdr->sh_size) in elf_link_read_relocs_from_section()
2698 erela = (const bfd_byte *) external_relocs; in elf_link_read_relocs_from_section()
2759 void *external_relocs, in _bfd_elf_link_info_read_relocs() argument
2792 if (external_relocs == NULL) in _bfd_elf_link_info_read_relocs()
2804 external_relocs = alloc1; in _bfd_elf_link_info_read_relocs()
2811 external_relocs, in _bfd_elf_link_info_read_relocs()
2814 external_relocs = (((bfd_byte *) external_relocs) in _bfd_elf_link_info_read_relocs()
2822 external_relocs, in _bfd_elf_link_info_read_relocs()
2856 void *external_relocs, in _bfd_elf_link_read_relocs() argument
[all …]
H A Dcoff-alpha.c1383 void * external_relocs) in alpha_relocate_section() argument
1514 ext_rel = (struct external_reloc *) external_relocs; in alpha_relocate_section()
H A Dlibcoff.h560 bfd_byte *external_relocs; member
H A DChangeLog-20202877 * ecoff.c (ecoff_slurp_reloc_table): Malloc external_relocs so
H A DChangeLog-20052495 (som_slurp_reloc_table): Change type of external_relocs to unsigned
/netbsd-src/external/gpl3/gdb/dist/bfd/
H A DChangeLog-20202877 * ecoff.c (ecoff_slurp_reloc_table): Malloc external_relocs so
H A DChangeLog-20052495 (som_slurp_reloc_table): Change type of external_relocs to unsigned

12