Home
last modified time | relevance | path

Searched refs:outsyms (Results 1 – 18 of 18) sorted by relevance

/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Dcofflink.c660 finfo.outsyms = NULL; in _bfd_coff_final_link()
855 finfo.outsyms = bfd_malloc ((max_sym_count + 1) * symesz); in _bfd_coff_final_link()
869 || finfo.outsyms == NULL in _bfd_coff_final_link()
974 finfo.outsyms); in _bfd_coff_final_link()
978 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz) in _bfd_coff_final_link()
1002 if (finfo.outsyms != NULL) in _bfd_coff_final_link()
1004 free (finfo.outsyms); in _bfd_coff_final_link()
1005 finfo.outsyms = NULL; in _bfd_coff_final_link()
1152 if (finfo.outsyms != NULL) in _bfd_coff_final_link()
1153 free (finfo.outsyms); in _bfd_coff_final_link()
[all …]
Dxcofflink.c108 bfd_byte *outsyms; member
3459 outsym = finfo->outsyms; in xcoff_link_input_bfd()
3808 (void *) (finfo->outsyms in xcoff_link_input_bfd()
3902 outsym = finfo->outsyms; in xcoff_link_input_bfd()
4162 oos = finfo->outsyms; in xcoff_link_input_bfd()
4223 (void *) (finfo->outsyms in xcoff_link_input_bfd()
4229 if (outsym > finfo->outsyms) in xcoff_link_input_bfd()
4232 bfd_size_type amt = outsym - finfo->outsyms; in xcoff_link_input_bfd()
4234 || bfd_bwrite (finfo->outsyms, amt, output_bfd) != amt) in xcoff_link_input_bfd()
4238 + (outsym - finfo->outsyms) / osymesz) in xcoff_link_input_bfd()
[all …]
Dbout.c434 asymbol **outsyms, **p, **q; in b_out_write_object_contents() local
436 outsyms = bfd_get_outsymbols (abfd); in b_out_write_object_contents()
437 p = outsyms + bfd_get_symcount (abfd); in b_out_write_object_contents()
439 for (q = p--; p >= outsyms; p--) in b_out_write_object_contents()
449 if (q > outsyms) in b_out_write_object_contents()
450 qsort (outsyms, (size_t) (q - outsyms), sizeof (asymbol*), in b_out_write_object_contents()
Dcoff-ppc.c2075 finfo.outsyms = NULL;
2257 finfo.outsyms = (bfd_byte *) bfd_malloc (amt);
2270 || finfo.outsyms == NULL
2388 (PTR) finfo.outsyms);
2391 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz)
2403 if (finfo.outsyms != NULL)
2405 free (finfo.outsyms);
2406 finfo.outsyms = NULL;
2533 if (finfo.outsyms != NULL)
2534 free (finfo.outsyms);
Dlibcoff-in.h488 bfd_byte *outsyms; member
Dlinker.c834 struct bfd_symbol **outsyms; in generic_link_add_object_symbols() local
839 outsyms = _bfd_generic_link_get_symbols (abfd); in generic_link_add_object_symbols()
840 return generic_link_add_symbol_list (abfd, info, symcount, outsyms, collect); in generic_link_add_object_symbols()
Dlibcoff.h492 bfd_byte *outsyms; member
Dcoffcode.h2499 asymbol **outsyms = abfd->outsymbols; in coff_write_relocs() local
2501 for (j = first_undef; outsyms[j]; j++) in coff_write_relocs()
2503 const char *intable = outsyms[j]->name; in coff_write_relocs()
2508 q->sym_ptr_ptr = outsyms + j; in coff_write_relocs()
/openbsd/src/gnu/usr.bin/binutils/bfd/
Dcofflink.c658 finfo.outsyms = NULL; in _bfd_coff_final_link()
851 finfo.outsyms = bfd_malloc ((max_sym_count + 1) * symesz); in _bfd_coff_final_link()
865 || finfo.outsyms == NULL in _bfd_coff_final_link()
970 finfo.outsyms); in _bfd_coff_final_link()
974 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz) in _bfd_coff_final_link()
998 if (finfo.outsyms != NULL) in _bfd_coff_final_link()
1000 free (finfo.outsyms); in _bfd_coff_final_link()
1001 finfo.outsyms = NULL; in _bfd_coff_final_link()
1148 if (finfo.outsyms != NULL) in _bfd_coff_final_link()
1149 free (finfo.outsyms); in _bfd_coff_final_link()
[all …]
Dxcofflink.c106 bfd_byte *outsyms; member
3574 finfo.outsyms = NULL;
3866 finfo.outsyms = (bfd_byte *) bfd_malloc (amt);
3879 || finfo.outsyms == NULL
3957 (PTR) finfo.outsyms);
3960 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz)
3970 if (finfo.outsyms != NULL)
3972 free (finfo.outsyms);
3973 finfo.outsyms = NULL;
4168 if (finfo.outsyms != NULL)
[all …]
Dcoff-ppc.c2273 finfo.outsyms = NULL;
2453 finfo.outsyms = (bfd_byte *) bfd_malloc (amt);
2466 || finfo.outsyms == NULL
2584 (PTR) finfo.outsyms);
2587 || bfd_bwrite (finfo.outsyms, symesz, abfd) != symesz)
2599 if (finfo.outsyms != NULL)
2601 free (finfo.outsyms);
2602 finfo.outsyms = NULL;
2729 if (finfo.outsyms != NULL)
2730 free (finfo.outsyms);
Dbout.c329 asymbol **outsyms, **p, **q; local
331 outsyms = bfd_get_outsymbols (abfd);
332 p = outsyms + bfd_get_symcount (abfd);
334 for (q = p--; p >= outsyms; p--)
344 if (q > outsyms)
345 qsort (outsyms, (size_t) (q - outsyms), sizeof (asymbol*),
Dlibcoff-in.h486 bfd_byte *outsyms; member
Dlinker.c791 struct bfd_symbol **outsyms; in generic_link_add_object_symbols() local
796 outsyms = _bfd_generic_link_get_symbols (abfd); in generic_link_add_object_symbols()
797 return generic_link_add_symbol_list (abfd, info, symcount, outsyms, collect); in generic_link_add_object_symbols()
Dlibcoff.h490 bfd_byte *outsyms; member
Dcoffcode.h2525 asymbol **outsyms = abfd->outsymbols; local
2527 for (j = first_undef; outsyms[j]; j++)
2529 const char *intable = outsyms[j]->name;
2533 q->sym_ptr_ptr = outsyms + j;
/openbsd/src/gnu/usr.bin/binutils-2.17/binutils/
Dnlmconv.c166 asymbol **newsyms, **outsyms; in main() local
680 outsyms = symbols; in main()
683 outsyms = (asymbol **) xmalloc ((symcount + newsymcount + 1) in main()
685 memcpy (outsyms, symbols, symcount * sizeof (asymbol *)); in main()
686 memcpy (outsyms + symcount, newsyms, newsymcount * sizeof (asymbol *)); in main()
687 outsyms[symcount + newsymcount] = NULL; in main()
690 bfd_set_symtab (outbfd, outsyms, symcount + newsymcount); in main()
/openbsd/src/gnu/usr.bin/binutils/binutils/
Dnlmconv.c170 asymbol **newsyms, **outsyms; in main() local
684 outsyms = symbols; in main()
687 outsyms = (asymbol **) xmalloc ((symcount + newsymcount + 1) in main()
689 memcpy (outsyms, symbols, symcount * sizeof (asymbol *)); in main()
690 memcpy (outsyms + symcount, newsyms, newsymcount * sizeof (asymbol *)); in main()
691 outsyms[symcount + newsymcount] = NULL; in main()
694 bfd_set_symtab (outbfd, outsyms, symcount + newsymcount); in main()