Home
last modified time | relevance | path

Searched refs:native_relocs (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf64-sparc.c75 bfd_byte *native_relocs; in elf64_sparc_slurp_one_reloc_table() local
88 native_relocs = (bfd_byte *) allocated; in elf64_sparc_slurp_one_reloc_table()
98 i++, relent++, native_relocs += entsize) in elf64_sparc_slurp_one_reloc_table()
103 bfd_elf64_swap_reloca_in (abfd, native_relocs, &rela); in elf64_sparc_slurp_one_reloc_table()
H A Delf64-mips.c4006 bfd_byte *native_relocs; in mips_elf64_slurp_one_reloc_table() local
4019 native_relocs = allocated; in mips_elf64_slurp_one_reloc_table()
4037 i++, native_relocs += entsize) in mips_elf64_slurp_one_reloc_table()
4045 (Elf64_Mips_External_Rela *) native_relocs, in mips_elf64_slurp_one_reloc_table()
4049 (Elf64_Mips_External_Rel *) native_relocs, in mips_elf64_slurp_one_reloc_table()
H A Delfcode.h1466 bfd_byte *native_relocs; in elf_slurp_reloc_table_from_section() local
1478 native_relocs = (bfd_byte *) allocated; in elf_slurp_reloc_table_from_section()
1491 i++, relent++, native_relocs += entsize) in elf_slurp_reloc_table_from_section()
1497 elf_swap_reloca_in (abfd, native_relocs, &rela); in elf_slurp_reloc_table_from_section()
1499 elf_swap_reloc_in (abfd, native_relocs, &rela); in elf_slurp_reloc_table_from_section()
H A Dcoffcode.h5098 bfd_byte *native_relocs; in coff_slurp_reloc_table() local
5113 native_relocs = (bfd_byte *) buy_and_read (abfd, asect->rel_filepos, in coff_slurp_reloc_table()
5116 if (native_relocs == NULL) in coff_slurp_reloc_table()
5127 free (native_relocs); in coff_slurp_reloc_table()
5140 src = native_relocs + idx * (size_t) bfd_coff_relsz (abfd); in coff_slurp_reloc_table()
5199 free (native_relocs); in coff_slurp_reloc_table()
5204 free (native_relocs); in coff_slurp_reloc_table()
H A Dmach-o.c1615 struct mach_o_reloc_info_external *native_relocs = NULL; in bfd_mach_o_canonicalize_relocs() local
1625 native_relocs = (struct mach_o_reloc_info_external *) in bfd_mach_o_canonicalize_relocs()
1627 if (native_relocs == NULL) in bfd_mach_o_canonicalize_relocs()
1632 if (!(*bed->_bfd_mach_o_canonicalize_one_reloc)(abfd, &native_relocs[i], in bfd_mach_o_canonicalize_relocs()
1636 free (native_relocs); in bfd_mach_o_canonicalize_relocs()
1640 free (native_relocs); in bfd_mach_o_canonicalize_relocs()
H A Delf.c13169 bfd_byte * native_relocs; in _bfd_elf_slurp_secondary_reloc_section() local
13188 native_relocs = bfd_malloc (hdr->sh_size); in _bfd_elf_slurp_secondary_reloc_section()
13189 if (native_relocs == NULL) in _bfd_elf_slurp_secondary_reloc_section()
13198 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
13207 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
13213 || (bfd_bread (native_relocs, hdr->sh_size, abfd) in _bfd_elf_slurp_secondary_reloc_section()
13216 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
13229 native_reloc = native_relocs; in _bfd_elf_slurp_secondary_reloc_section()
13291 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
H A DChangeLog-20052027 * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf64-sparc.c86 bfd_byte *native_relocs; in elf64_sparc_slurp_one_reloc_table() local
99 native_relocs = (bfd_byte *) allocated; in elf64_sparc_slurp_one_reloc_table()
109 i++, relent++, native_relocs += entsize) in elf64_sparc_slurp_one_reloc_table()
114 bfd_elf64_swap_reloca_in (abfd, native_relocs, &rela); in elf64_sparc_slurp_one_reloc_table()
H A Delfcode.h1550 bfd_byte *native_relocs; in elf_slurp_reloc_table_from_section() local
1562 native_relocs = (bfd_byte *) allocated; in elf_slurp_reloc_table_from_section()
1575 i++, relent++, native_relocs += entsize) in elf_slurp_reloc_table_from_section()
1581 elf_swap_reloca_in (abfd, native_relocs, &rela); in elf_slurp_reloc_table_from_section()
1583 elf_swap_reloc_in (abfd, native_relocs, &rela); in elf_slurp_reloc_table_from_section()
H A Delf64-mips.c4015 bfd_byte *native_relocs; in mips_elf64_slurp_one_reloc_table() local
4028 native_relocs = allocated; in mips_elf64_slurp_one_reloc_table()
4046 i++, native_relocs += entsize) in mips_elf64_slurp_one_reloc_table()
4054 (Elf64_Mips_External_Rela *) native_relocs, in mips_elf64_slurp_one_reloc_table()
4058 (Elf64_Mips_External_Rel *) native_relocs, in mips_elf64_slurp_one_reloc_table()
H A Dcoffcode.h5256 bfd_byte *native_relocs; in coff_slurp_reloc_table() local
5271 native_relocs = (bfd_byte *) buy_and_read (abfd, asect->rel_filepos, in coff_slurp_reloc_table()
5274 if (native_relocs == NULL) in coff_slurp_reloc_table()
5285 free (native_relocs); in coff_slurp_reloc_table()
5298 src = native_relocs + idx * (size_t) bfd_coff_relsz (abfd); in coff_slurp_reloc_table()
5357 free (native_relocs); in coff_slurp_reloc_table()
5362 free (native_relocs); in coff_slurp_reloc_table()
H A Dmach-o.c1624 struct mach_o_reloc_info_external *native_relocs = NULL; in bfd_mach_o_canonicalize_relocs() local
1634 native_relocs = (struct mach_o_reloc_info_external *) in bfd_mach_o_canonicalize_relocs()
1636 if (native_relocs == NULL) in bfd_mach_o_canonicalize_relocs()
1641 if (!(*bed->_bfd_mach_o_canonicalize_one_reloc)(abfd, &native_relocs[i], in bfd_mach_o_canonicalize_relocs()
1645 free (native_relocs); in bfd_mach_o_canonicalize_relocs()
1649 free (native_relocs); in bfd_mach_o_canonicalize_relocs()
H A Delf.c13938 bfd_byte * native_relocs; in _bfd_elf_slurp_secondary_reloc_section() local
13966 native_relocs = bfd_malloc (hdr->sh_size); in _bfd_elf_slurp_secondary_reloc_section()
13967 if (native_relocs == NULL) in _bfd_elf_slurp_secondary_reloc_section()
13976 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
13985 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
13991 || bfd_read (native_relocs, hdr->sh_size, abfd) != hdr->sh_size) in _bfd_elf_slurp_secondary_reloc_section()
13993 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
14006 native_reloc = native_relocs; in _bfd_elf_slurp_secondary_reloc_section()
14069 free (native_relocs); in _bfd_elf_slurp_secondary_reloc_section()
H A DChangeLog-20052027 * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
/netbsd-src/external/gpl3/gdb/dist/bfd/
H A DChangeLog-20052027 * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs
/netbsd-src/external/gpl3/gdb.old/dist/bfd/
H A DChangeLog-20052027 * coffcode.h (coff_slurp_reloc_table): Don't crash if native_relocs