Home | History | Annotate | Download | only in bfd

Lines Matching refs:input_bfd

1330 mark_relocs (struct coff_final_link_info *flaginfo, bfd *input_bfd)
1334 if ((bfd_get_file_flags (input_bfd) & HAS_SYMS) == 0)
1337 for (a = input_bfd->sections; a != (asection *) NULL; a = a->next)
1352 (input_bfd, a, FALSE,
1379 _bfd_coff_link_input_bfd (struct coff_final_link_info *flaginfo, bfd *input_bfd)
1381 unsigned int n_tmask = coff_data (input_bfd)->local_n_tmask;
1382 unsigned int n_btshft = coff_data (input_bfd)->local_n_btshft;
1408 isymesz = bfd_coff_symesz (input_bfd);
1410 linesz = bfd_coff_linesz (input_bfd);
1420 if (! _bfd_coff_get_external_symbols (input_bfd))
1423 esym = (bfd_byte *) obj_coff_external_syms (input_bfd);
1424 esym_end = esym + obj_raw_syment_count (input_bfd) * isymesz;
1432 && ! process_embedded_commands (output_bfd, flaginfo->info, input_bfd))
1443 memset (indexp, 0, obj_raw_syment_count (input_bfd) * sizeof * indexp);
1445 mark_relocs (flaginfo, input_bfd);
1457 bfd_coff_swap_sym_in (input_bfd, esym, isymp);
1465 classification = bfd_coff_classify_symbol (input_bfd, &isym);
1473 *secpp = coff_section_from_bfd_index (input_bfd, isym.n_scnum);
1578 name = _bfd_coff_internal_syment_name (input_bfd, &isym, buf);
1588 && bfd_is_local_label_name (input_bfd, name))))
1611 name = _bfd_coff_internal_syment_name (input_bfd, &isym, buf);
1618 || (*name == bfd_get_symbol_leading_char (input_bfd)
1631 mt = (struct coff_debug_merge_type *) bfd_alloc (input_bfd, amt);
1638 bfd_coff_swap_aux_in (input_bfd, (esym + isymesz),
1647 eslend = ((bfd_byte *) obj_coff_external_syms (input_bfd)
1655 bfd_coff_swap_sym_in (input_bfd, esl, islp);
1659 bfd_alloc (input_bfd, amt);
1663 elename = _bfd_coff_internal_syment_name (input_bfd, islp,
1669 name_copy = (char *) bfd_alloc (input_bfd, amt);
1684 bfd_coff_swap_aux_in (input_bfd, (esl + isymesz),
1696 (bfd_byte *) obj_coff_external_syms (input_bfd))
1715 bfd_release (input_bfd, mt);
1751 bfd_release (input_bfd, mt);
1775 name = _bfd_coff_internal_syment_name (input_bfd, &isym, NULL);
1804 if (obj_pe (input_bfd)
1831 if (! obj_pe (input_bfd))
1888 if (flaginfo->info->task_link && IS_EXTERNAL (input_bfd, isym))
1901 indx = ((esym - (bfd_byte *) obj_coff_external_syms (input_bfd))
1903 h = obj_coff_sym_hashes (input_bfd)[indx];
1932 esym = (bfd_byte *) obj_coff_external_syms (input_bfd);
1933 esym_end = esym + obj_raw_syment_count (input_bfd) * isymesz;
1936 sym_hash = obj_coff_sym_hashes (input_bfd);
1948 || (*sym_hash)->auxbfd != input_bfd))
1984 bfd_coff_swap_aux_in (input_bfd, esym, isymp->n_type,
2003 strings = _bfd_coff_read_string_table (input_bfd);
2007 if ((bfd_size_type) auxp->x_file.x_n.x_offset >= obj_coff_strings_len (input_bfd))
2030 && indx < obj_raw_syment_count (input_bfd))
2039 && indx < obj_raw_syment_count (input_bfd))
2041 if (indx >= obj_raw_syment_count (input_bfd))
2050 if (indx > 0 && indx < obj_raw_syment_count (input_bfd))
2160 for (o = input_bfd->sections; o != NULL; o = o->next)
2183 if (bfd_seek (input_bfd, o->line_filepos, SEEK_SET) != 0
2185 input_bfd) != linesz * o->lineno_count)
2197 bfd_coff_swap_lineno_in (input_bfd, eline, &iline);
2203 < obj_raw_syment_count (input_bfd)))
2315 adjust_symndx = coff_backend_info (input_bfd)->_bfd_coff_adjust_symndx;
2316 for (o = input_bfd->sections; o != NULL; o = o->next)
2336 input_bfd, o);
2344 secdata = coff_section_data (input_bfd, o);
2350 if (! bfd_get_full_section_contents (input_bfd, o, &contents))
2363 (input_bfd, o, FALSE, flaginfo->external_relocs,
2383 h = obj_coff_sym_hashes (input_bfd)[symndx];
2399 h->root.root.string, o, input_bfd, ps, ps->owner);
2405 input_bfd, o,
2439 input_bfd, o, irel,
2446 h = obj_coff_sym_hashes (input_bfd)[irel->r_symndx];
2484 (input_bfd, is, buf));
2489 (flaginfo->info, name, input_bfd, o,
2518 && ! _bfd_coff_free_symbols (input_bfd))
2900 bfd *input_bfd,
2930 || (unsigned long) symndx >= obj_raw_syment_count (input_bfd))
2933 ("%B: illegal symbol index %ld in relocs", input_bfd, symndx);
2938 h = obj_coff_sym_hashes (input_bfd)[symndx];
2951 howto = bfd_coff_rtype_to_howto (input_bfd, input_section, rel, h,
2990 if (! obj_pe (input_bfd))
3047 (info, h->root.root.string, input_bfd, input_section,
3079 rstat = _bfd_final_link_relocate (howto, input_bfd, input_section,
3093 input_bfd, input_section, (unsigned long) rel->r_vaddr);
3106 name = _bfd_coff_internal_syment_name (input_bfd, sym, buf);
3113 (bfd_vma) 0, input_bfd, input_section,