Lines Matching refs:input_bfd
1329 mark_relocs (struct coff_final_link_info *flaginfo, bfd *input_bfd) in mark_relocs() argument
1333 if ((bfd_get_file_flags (input_bfd) & HAS_SYMS) == 0) in mark_relocs()
1336 for (a = input_bfd->sections; a != (asection *) NULL; a = a->next) in mark_relocs()
1351 (input_bfd, a, FALSE, in mark_relocs()
1378 _bfd_coff_link_input_bfd (struct coff_final_link_info *flaginfo, bfd *input_bfd) in _bfd_coff_link_input_bfd() argument
1380 unsigned int n_tmask = coff_data (input_bfd)->local_n_tmask; in _bfd_coff_link_input_bfd()
1381 unsigned int n_btshft = coff_data (input_bfd)->local_n_btshft; in _bfd_coff_link_input_bfd()
1407 isymesz = bfd_coff_symesz (input_bfd); in _bfd_coff_link_input_bfd()
1409 linesz = bfd_coff_linesz (input_bfd); in _bfd_coff_link_input_bfd()
1419 if (! _bfd_coff_get_external_symbols (input_bfd)) in _bfd_coff_link_input_bfd()
1422 esym = (bfd_byte *) obj_coff_external_syms (input_bfd); in _bfd_coff_link_input_bfd()
1423 esym_end = esym + obj_raw_syment_count (input_bfd) * isymesz; in _bfd_coff_link_input_bfd()
1431 && ! process_embedded_commands (output_bfd, flaginfo->info, input_bfd)) in _bfd_coff_link_input_bfd()
1442 memset (indexp, 0, obj_raw_syment_count (input_bfd) * sizeof * indexp); in _bfd_coff_link_input_bfd()
1444 mark_relocs (flaginfo, input_bfd); in _bfd_coff_link_input_bfd()
1456 bfd_coff_swap_sym_in (input_bfd, esym, isymp); in _bfd_coff_link_input_bfd()
1464 classification = bfd_coff_classify_symbol (input_bfd, &isym); in _bfd_coff_link_input_bfd()
1472 *secpp = coff_section_from_bfd_index (input_bfd, isym.n_scnum); in _bfd_coff_link_input_bfd()
1577 name = _bfd_coff_internal_syment_name (input_bfd, &isym, buf); in _bfd_coff_link_input_bfd()
1587 && bfd_is_local_label_name (input_bfd, name)))) in _bfd_coff_link_input_bfd()
1610 name = _bfd_coff_internal_syment_name (input_bfd, &isym, buf); in _bfd_coff_link_input_bfd()
1617 || (*name == bfd_get_symbol_leading_char (input_bfd) in _bfd_coff_link_input_bfd()
1630 mt = (struct coff_debug_merge_type *) bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd()
1637 bfd_coff_swap_aux_in (input_bfd, (esym + isymesz), in _bfd_coff_link_input_bfd()
1646 eslend = ((bfd_byte *) obj_coff_external_syms (input_bfd) in _bfd_coff_link_input_bfd()
1654 bfd_coff_swap_sym_in (input_bfd, esl, islp); in _bfd_coff_link_input_bfd()
1658 bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd()
1662 elename = _bfd_coff_internal_syment_name (input_bfd, islp, in _bfd_coff_link_input_bfd()
1668 name_copy = (char *) bfd_alloc (input_bfd, amt); in _bfd_coff_link_input_bfd()
1683 bfd_coff_swap_aux_in (input_bfd, (esl + isymesz), in _bfd_coff_link_input_bfd()
1695 (bfd_byte *) obj_coff_external_syms (input_bfd)) in _bfd_coff_link_input_bfd()
1714 bfd_release (input_bfd, mt); in _bfd_coff_link_input_bfd()
1750 bfd_release (input_bfd, mt); in _bfd_coff_link_input_bfd()
1774 name = _bfd_coff_internal_syment_name (input_bfd, &isym, NULL); in _bfd_coff_link_input_bfd()
1803 if (obj_pe (input_bfd) in _bfd_coff_link_input_bfd()
1830 if (! obj_pe (input_bfd)) in _bfd_coff_link_input_bfd()
1887 if (flaginfo->info->task_link && IS_EXTERNAL (input_bfd, isym)) in _bfd_coff_link_input_bfd()
1900 indx = ((esym - (bfd_byte *) obj_coff_external_syms (input_bfd)) in _bfd_coff_link_input_bfd()
1902 h = obj_coff_sym_hashes (input_bfd)[indx]; in _bfd_coff_link_input_bfd()
1931 esym = (bfd_byte *) obj_coff_external_syms (input_bfd); in _bfd_coff_link_input_bfd()
1932 esym_end = esym + obj_raw_syment_count (input_bfd) * isymesz; in _bfd_coff_link_input_bfd()
1935 sym_hash = obj_coff_sym_hashes (input_bfd); in _bfd_coff_link_input_bfd()
1947 || (*sym_hash)->auxbfd != input_bfd)) in _bfd_coff_link_input_bfd()
1983 bfd_coff_swap_aux_in (input_bfd, esym, isymp->n_type, in _bfd_coff_link_input_bfd()
2002 strings = _bfd_coff_read_string_table (input_bfd); in _bfd_coff_link_input_bfd()
2006 if ((bfd_size_type) auxp->x_file.x_n.x_offset >= obj_coff_strings_len (input_bfd)) in _bfd_coff_link_input_bfd()
2029 && indx < obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2038 && indx < obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2040 if (indx >= obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2049 if (indx > 0 && indx < obj_raw_syment_count (input_bfd)) in _bfd_coff_link_input_bfd()
2159 for (o = input_bfd->sections; o != NULL; o = o->next) in _bfd_coff_link_input_bfd()
2182 if (bfd_seek (input_bfd, o->line_filepos, SEEK_SET) != 0 in _bfd_coff_link_input_bfd()
2184 input_bfd) != linesz * o->lineno_count) in _bfd_coff_link_input_bfd()
2196 bfd_coff_swap_lineno_in (input_bfd, eline, &iline); in _bfd_coff_link_input_bfd()
2202 < obj_raw_syment_count (input_bfd))) in _bfd_coff_link_input_bfd()
2314 adjust_symndx = coff_backend_info (input_bfd)->_bfd_coff_adjust_symndx; in _bfd_coff_link_input_bfd()
2315 for (o = input_bfd->sections; o != NULL; o = o->next) in _bfd_coff_link_input_bfd()
2335 input_bfd, o); in _bfd_coff_link_input_bfd()
2343 secdata = coff_section_data (input_bfd, o); in _bfd_coff_link_input_bfd()
2349 if (! bfd_get_full_section_contents (input_bfd, o, &contents)) in _bfd_coff_link_input_bfd()
2362 (input_bfd, o, FALSE, flaginfo->external_relocs, in _bfd_coff_link_input_bfd()
2382 h = obj_coff_sym_hashes (input_bfd)[symndx]; in _bfd_coff_link_input_bfd()
2398 h->root.root.string, o, input_bfd, ps, ps->owner); in _bfd_coff_link_input_bfd()
2404 input_bfd, o, in _bfd_coff_link_input_bfd()
2438 input_bfd, o, irel, in _bfd_coff_link_input_bfd()
2445 h = obj_coff_sym_hashes (input_bfd)[irel->r_symndx]; in _bfd_coff_link_input_bfd()
2483 (input_bfd, is, buf)); in _bfd_coff_link_input_bfd()
2488 (flaginfo->info, name, input_bfd, o, in _bfd_coff_link_input_bfd()
2517 && ! _bfd_coff_free_symbols (input_bfd)) in _bfd_coff_link_input_bfd()
2899 bfd *input_bfd, in _bfd_coff_generic_relocate_section() argument
2929 || (unsigned long) symndx >= obj_raw_syment_count (input_bfd)) in _bfd_coff_generic_relocate_section()
2932 ("%B: illegal symbol index %ld in relocs", input_bfd, symndx); in _bfd_coff_generic_relocate_section()
2937 h = obj_coff_sym_hashes (input_bfd)[symndx]; in _bfd_coff_generic_relocate_section()
2950 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h, in _bfd_coff_generic_relocate_section()
2989 if (! obj_pe (input_bfd)) in _bfd_coff_generic_relocate_section()
3046 (info, h->root.root.string, input_bfd, input_section, in _bfd_coff_generic_relocate_section()
3078 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section, in _bfd_coff_generic_relocate_section()
3092 input_bfd, input_section, (unsigned long) rel->r_vaddr); in _bfd_coff_generic_relocate_section()
3105 name = _bfd_coff_internal_syment_name (input_bfd, sym, buf); in _bfd_coff_generic_relocate_section()
3112 (bfd_vma) 0, input_bfd, input_section, in _bfd_coff_generic_relocate_section()