Home
last modified time | relevance | path

Searched refs:relsize (Results 1 – 13 of 13) sorted by relevance

/toolchain/binutils/binutils-2.25/binutils/
Dobjdump.c1961 long relsize; in disassemble_section() local
1963 relsize = bfd_get_reloc_upper_bound (abfd, section); in disassemble_section()
1964 if (relsize < 0) in disassemble_section()
1967 if (relsize > 0) in disassemble_section()
1969 rel_ppstart = rel_pp = (arelent **) xmalloc (relsize); in disassemble_section()
2224 long relsize = bfd_get_dynamic_reloc_upper_bound (abfd); in disassemble_data() local
2226 if (relsize < 0) in disassemble_data()
2229 if (relsize > 0) in disassemble_data()
2231 aux.dynrelbuf = (arelent **) xmalloc (relsize); in disassemble_data()
3097 long relsize; in dump_relocs_in_section() local
[all …]
Dcoffgrok.c140 long relsize; in do_sections_p1() local
145 relsize = bfd_get_reloc_upper_bound (abfd, section); in do_sections_p1()
146 if (relsize < 0) in do_sections_p1()
148 if (relsize == 0) in do_sections_p1()
150 relpp = (arelent **) xmalloc (relsize); in do_sections_p1()
Dobjcopy.c2893 long relsize; in copy_relocations_in_section() local
2905 relsize = 0; in copy_relocations_in_section()
2908 relsize = bfd_get_reloc_upper_bound (ibfd, isection); in copy_relocations_in_section()
2910 if (relsize < 0) in copy_relocations_in_section()
2913 if (relsize == -1 && bfd_get_error () == bfd_error_invalid_operation) in copy_relocations_in_section()
2914 relsize = 0; in copy_relocations_in_section()
2924 if (relsize == 0) in copy_relocations_in_section()
2931 relpp = (arelent **) xmalloc (relsize); in copy_relocations_in_section()
2949 temp_relpp = (arelent **) xmalloc (relsize); in copy_relocations_in_section()
3138 long relsize; in mark_symbols_used_in_relocations() local
[all …]
Dnm.c788 long relsize; in get_relocs() local
790 relsize = bfd_get_reloc_upper_bound (abfd, sec); in get_relocs()
791 if (relsize < 0) in get_relocs()
794 *data->relocs = (arelent **) xmalloc (relsize); in get_relocs()
/toolchain/binutils/binutils-2.25/ld/
Dldcref.c642 long relsize; in check_reloc_refs() local
675 relsize = bfd_get_reloc_upper_bound (abfd, sec); in check_reloc_refs()
676 if (relsize < 0) in check_reloc_refs()
678 if (relsize == 0) in check_reloc_refs()
681 relpp = (arelent **) xmalloc (relsize); in check_reloc_refs()
Dldmain.c1239 long relsize; in warning_find_reloc() local
1247 relsize = bfd_get_reloc_upper_bound (abfd, sec); in warning_find_reloc()
1248 if (relsize < 0) in warning_find_reloc()
1250 if (relsize == 0) in warning_find_reloc()
1253 relpp = (arelent **) xmalloc (relsize); in warning_find_reloc()
Dpe-dll.c1286 int relsize, nrelocs, i; in pe_walk_relocs_of_symbol() local
1296 relsize = bfd_get_reloc_upper_bound (b, s); in pe_walk_relocs_of_symbol()
1297 relocs = xmalloc (relsize); in pe_walk_relocs_of_symbol()
1345 int relsize, nrelocs; in generate_reloc() local
1377 relsize = bfd_get_reloc_upper_bound (b, s); in generate_reloc()
1378 relocs = xmalloc (relsize); in generate_reloc()
1822 static int relcount = 0, relsize = 0; variable
1827 if (relcount >= relsize - 1) in quick_reloc()
1829 relsize += 10; in quick_reloc()
1831 reltab = xrealloc (reltab, relsize * sizeof (arelent)); in quick_reloc()
[all …]
/toolchain/binutils/binutils-2.25/bfd/
Dlinker.c1922 long relsize; in _bfd_generic_final_link() local
1929 relsize = bfd_get_reloc_upper_bound (input_bfd, in _bfd_generic_final_link()
1931 if (relsize < 0) in _bfd_generic_final_link()
1933 relocs = (arelent **) bfd_malloc (relsize); in _bfd_generic_final_link()
1934 if (!relocs && relsize != 0) in _bfd_generic_final_link()
Decoff.c2116 bfd_size_type relsize; in ecoff_compute_reloc_file_positions() local
2119 relsize = current->reloc_count * external_reloc_size; in ecoff_compute_reloc_file_positions()
2120 reloc_size += relsize; in ecoff_compute_reloc_file_positions()
2121 reloc_base += relsize; in ecoff_compute_reloc_file_positions()
Delf64-ppc.c10447 bfd_size_type relsize; in get_relocs() local
10448 relsize = sec->reloc_count * sizeof (*relocs); in get_relocs()
10449 relocs = bfd_alloc (sec->owner, relsize); in get_relocs()
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dpep.em1536 long relsize;
1541 relsize = bfd_get_reloc_upper_bound (is->the_bfd, sec);
1542 if (relsize < 1)
1553 relocs = xmalloc ((size_t) relsize);
Dpe.em1592 long relsize;
1597 relsize = bfd_get_reloc_upper_bound (is->the_bfd, sec);
1598 if (relsize < 1)
1609 relocs = xmalloc ((size_t) relsize);
/toolchain/binutils/binutils-2.25/gas/
DChangeLog-2010858 (symtab, symptr, reltab, relcount, relsize): Remove.