Home
last modified time | relevance | path

Searched refs:relcount (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Dnm.c64 long *relcount; member
1153 *data->relcount = 0; in get_relocs()
1164 *data->relcount = bfd_canonicalize_reloc (abfd, sec, *data->relocs, in get_relocs()
1166 if (*data->relcount < 0) in get_relocs()
1172 ++data->relcount; in get_relocs()
1254 static long *relcount; in print_symbol() local
1268 free (relcount); in print_symbol()
1271 relcount = NULL; in print_symbol()
1282 relcount = (long *) xmalloc (seccount * sizeof *relcount); in print_symbol()
1286 rinfo.relcount = relcount; in print_symbol()
[all …]
H A Dobjcopy.c2169 long relcount; in merge_gnu_build_notes() local
2174 relcount = bfd_canonicalize_reloc (abfd, sec, relpp, isympp); in merge_gnu_build_notes()
2176 if (relcount != 0) in merge_gnu_build_notes()
4292 long relcount; in copy_relocations_in_section() local
4334 relcount = isection->reloc_count; in copy_relocations_in_section()
4340 relcount = bfd_canonicalize_reloc (ibfd, isection, relpp, isympp); in copy_relocations_in_section()
4341 if (relcount < 0) in copy_relocations_in_section()
4357 for (w_relpp = relpp, i = 0; i < relcount; i++) in copy_relocations_in_section()
4365 relcount = w_relpp - relpp; in copy_relocations_in_section()
4369 bfd_set_reloc (obfd, osection, relcount == 0 ? NULL : relpp, relcount); in copy_relocations_in_section()
[all …]
H A Dobjdump.c4886 dump_reloc_set (bfd *abfd, asection *sec, arelent **relpp, long relcount) in dump_reloc_set() argument
4912 for (p = relpp; relcount && *p != NULL; p++, relcount--) in dump_reloc_set()
5000 && relcount > 1 in dump_reloc_set()
5063 long relcount; in dump_relocs_in_section() local
5083 relcount = relsize; in dump_relocs_in_section()
5087 relcount = bfd_canonicalize_reloc (abfd, section, relpp, syms); in dump_relocs_in_section()
5090 if (relcount < 0) in dump_relocs_in_section()
5097 else if (relcount == 0) in dump_relocs_in_section()
5102 dump_reloc_set (abfd, section, relpp, relcount); in dump_relocs_in_section()
5119 long relcount; in dump_dynamic_relocs() local
[all …]
H A Dcoffgrok.c126 long relcount; in do_sections_p1() local
138 relcount = bfd_canonicalize_reloc (abfd, section, relpp, syms); in do_sections_p1()
139 if (relcount < 0) in do_sections_p1()
H A DChangeLog-2004743 * objcopy.c (copy_section): Free relpp if relcount == 0.
H A DChangeLog-91973450 bfd_get_reloc_upper_bound. Change relcount to long, and check for
3471 (copy_section): Change relcount to long. Check for errors from
3473 (mark_symbols_used_in_relocations): Change relcount and i to long.
3484 (dump_relocs): Change relcount to long. Check for errors from
H A DChangeLog-20171095 * objcopy.c (merge_gnu_build_notes): Cast relcount to unsigned
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dpeicode.h96 unsigned int relcount; member
482 entry = vars->reltab + vars->relcount; in pe_ILF_make_a_symbol_reloc()
483 internal = vars->int_reltab + vars->relcount; in pe_ILF_make_a_symbol_reloc()
494 vars->relcount ++; in pe_ILF_make_a_symbol_reloc()
496 BFD_ASSERT (vars->relcount <= NUM_ILF_RELOCS); in pe_ILF_make_a_symbol_reloc()
526 sec->reloc_count = vars->relcount; in pe_ILF_save_relocs()
529 vars->reltab += vars->relcount; in pe_ILF_save_relocs()
530 vars->int_reltab += vars->relcount; in pe_ILF_save_relocs()
531 vars->relcount = 0; in pe_ILF_save_relocs()
874 vars.relcount = 0; in pe_ILF_build_a_bfd()
H A Delf64-ppc.c2371 size_t relcount; in ppc64_elf_get_synthetic_symtab() local
2377 relcount = (opd->flags & SEC_RELOC) ? opd->reloc_count : 0; in ppc64_elf_get_synthetic_symtab()
2378 if (relcount == 0) in ppc64_elf_get_synthetic_symtab()
2392 while (r < opd->relocation + relcount in ppc64_elf_get_synthetic_symtab()
2396 if (r == opd->relocation + relcount) in ppc64_elf_get_synthetic_symtab()
2430 while (r < opd->relocation + relcount in ppc64_elf_get_synthetic_symtab()
2434 if (r == opd->relocation + relcount) in ppc64_elf_get_synthetic_symtab()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dpeicode.h96 unsigned int relcount; member
476 entry = vars->reltab + vars->relcount; in pe_ILF_make_a_symbol_reloc()
477 internal = vars->int_reltab + vars->relcount; in pe_ILF_make_a_symbol_reloc()
488 vars->relcount ++; in pe_ILF_make_a_symbol_reloc()
490 BFD_ASSERT (vars->relcount <= NUM_ILF_RELOCS); in pe_ILF_make_a_symbol_reloc()
519 sec->reloc_count = vars->relcount; in pe_ILF_save_relocs()
522 vars->reltab += vars->relcount; in pe_ILF_save_relocs()
523 vars->int_reltab += vars->relcount; in pe_ILF_save_relocs()
524 vars->relcount = 0; in pe_ILF_save_relocs()
888 vars.relcount = 0; in pe_ILF_build_a_bfd()
H A Delf64-ppc.c2369 size_t relcount; in ppc64_elf_get_synthetic_symtab() local
2375 relcount = (opd->flags & SEC_RELOC) ? opd->reloc_count : 0; in ppc64_elf_get_synthetic_symtab()
2376 if (relcount == 0) in ppc64_elf_get_synthetic_symtab()
2390 while (r < opd->relocation + relcount in ppc64_elf_get_synthetic_symtab()
2394 if (r == opd->relocation + relcount) in ppc64_elf_get_synthetic_symtab()
2428 while (r < opd->relocation + relcount in ppc64_elf_get_synthetic_symtab()
2432 if (r == opd->relocation + relcount) in ppc64_elf_get_synthetic_symtab()
/netbsd-src/external/gpl3/binutils/dist/ld/
H A Dldcref.c657 long relcount; in check_reloc_refs() local
695 relcount = bfd_canonicalize_reloc (abfd, sec, relpp, info->asymbols); in check_reloc_refs()
696 if (relcount < 0) in check_reloc_refs()
700 pend = p + relcount; in check_reloc_refs()
H A Dpe-dll.c2043 static int relcount = 0, relsize = 0; variable
2048 if (relcount >= relsize - 1) in quick_reloc()
2056 reltab[relcount].address = address; in quick_reloc()
2057 reltab[relcount].addend = 0; in quick_reloc()
2058 reltab[relcount].howto = bfd_reloc_type_lookup (abfd, which_howto); in quick_reloc()
2059 reltab[relcount].sym_ptr_ptr = symtab + symidx; in quick_reloc()
2060 relcount++; in quick_reloc()
2069 sec->reloc_count = relcount; in save_relocs()
2070 sec->orelocation = xmalloc ((relcount + 1) * sizeof (arelent *)); in save_relocs()
2071 for (i = 0; i < relcount; i++) in save_relocs()
[all …]
H A Dldmain.c1369 long relcount; in warning_find_reloc() local
1382 relcount = bfd_canonicalize_reloc (abfd, sec, relpp, info->asymbols); in warning_find_reloc()
1383 if (relcount < 0) in warning_find_reloc()
1387 pend = p + relcount; in warning_find_reloc()
/netbsd-src/external/gpl3/binutils.old/dist/ld/
H A Dldcref.c657 long relcount; in check_reloc_refs() local
695 relcount = bfd_canonicalize_reloc (abfd, sec, relpp, info->asymbols); in check_reloc_refs()
696 if (relcount < 0) in check_reloc_refs()
700 pend = p + relcount; in check_reloc_refs()
H A Dpe-dll.c2013 static int relcount = 0, relsize = 0; variable
2018 if (relcount >= relsize - 1) in quick_reloc()
2026 reltab[relcount].address = address; in quick_reloc()
2027 reltab[relcount].addend = 0; in quick_reloc()
2028 reltab[relcount].howto = bfd_reloc_type_lookup (abfd, which_howto); in quick_reloc()
2029 reltab[relcount].sym_ptr_ptr = symtab + symidx; in quick_reloc()
2030 relcount++; in quick_reloc()
2039 sec->reloc_count = relcount; in save_relocs()
2040 sec->orelocation = xmalloc ((relcount + 1) * sizeof (arelent *)); in save_relocs()
2041 for (i = 0; i < relcount; i++) in save_relocs()
[all …]
H A Dldmain.c1358 long relcount; in warning_find_reloc() local
1371 relcount = bfd_canonicalize_reloc (abfd, sec, relpp, info->asymbols); in warning_find_reloc()
1372 if (relcount < 0) in warning_find_reloc()
1376 pend = p + relcount; in warning_find_reloc()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Dnm.c62 long *relcount; member
1149 *data->relcount = 0; in get_relocs()
1157 *data->relcount = bfd_canonicalize_reloc (abfd, sec, *data->relocs, in get_relocs()
1164 ++data->relcount; in get_relocs()
1177 free (lc->relcount); in free_lineno_cache()
1271 lc->relcount = xmalloc (seccount * sizeof (*lc->relcount)); in print_symbol()
1282 for (j = 0; j < lc->relcount[i]; j++) in print_symbol()
H A Dobjcopy.c2206 long relcount; in merge_gnu_build_notes() local
2211 relcount = bfd_canonicalize_reloc (abfd, sec, relpp, isympp); in merge_gnu_build_notes()
2213 if (relcount != 0) in merge_gnu_build_notes()
4400 long relcount; in copy_relocations_in_section() local
4441 relcount = isection->reloc_count; in copy_relocations_in_section()
4447 relcount = bfd_canonicalize_reloc (ibfd, isection, relpp, isympp); in copy_relocations_in_section()
4448 if (relcount < 0) in copy_relocations_in_section()
4464 for (w_relpp = relpp, i = 0; i < relcount; i++) in copy_relocations_in_section()
4472 relcount = w_relpp - relpp; in copy_relocations_in_section()
4476 bfd_set_reloc (obfd, osection, relcount == 0 ? NULL : relpp, relcount); in copy_relocations_in_section()
[all …]
H A Dobjdump.c5210 dump_reloc_set (bfd *abfd, asection *sec, arelent **relpp, long relcount) in dump_reloc_set() argument
5236 for (p = relpp; relcount && *p != NULL; p++, relcount--) in dump_reloc_set()
5324 && relcount > 1 in dump_reloc_set()
5387 long relcount; in dump_relocs_in_section() local
5409 relcount = relsize; in dump_relocs_in_section()
5414 relcount = bfd_canonicalize_reloc (abfd, section, relpp, syms); in dump_relocs_in_section()
5417 if (relcount < 0) in dump_relocs_in_section()
5424 else if (relcount == 0) in dump_relocs_in_section()
5429 dump_reloc_set (abfd, section, relpp, relcount); in dump_relocs_in_section()
5446 long relcount; in dump_dynamic_relocs() local
[all …]
H A Dcoffgrok.c126 long relcount; in do_sections_p1() local
138 relcount = bfd_canonicalize_reloc (abfd, section, relpp, syms); in do_sections_p1()
139 if (relcount < 0) in do_sections_p1()
H A DChangeLog-2004743 * objcopy.c (copy_section): Free relpp if relcount == 0.
H A DChangeLog-91973450 bfd_get_reloc_upper_bound. Change relcount to long, and check for
3471 (copy_section): Change relcount to long. Check for errors from
3473 (mark_symbols_used_in_relocations): Change relcount and i to long.
3484 (dump_relocs): Change relcount to long. Check for errors from
H A DChangeLog-20171095 * objcopy.c (merge_gnu_build_notes): Cast relcount to unsigned
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A DChangeLog-2010858 (symtab, symptr, reltab, relcount, relsize): Remove.

12