Lines Matching refs:dinfo

4392 				struct _frvfdpic_dynamic_got_info *dinfo)  in _frvfdpic_count_nontls_entries()  argument
4396 dinfo->got12 += 4; in _frvfdpic_count_nontls_entries()
4398 dinfo->gotlos += 4; in _frvfdpic_count_nontls_entries()
4400 dinfo->gothilo += 4; in _frvfdpic_count_nontls_entries()
4408 dinfo->got12 += 4; in _frvfdpic_count_nontls_entries()
4410 dinfo->gotlos += 4; in _frvfdpic_count_nontls_entries()
4412 dinfo->gothilo += 4; in _frvfdpic_count_nontls_entries()
4420 && entry->symndx == -1 && ! FRVFDPIC_SYM_LOCAL (dinfo->info, entry->d.h) in _frvfdpic_count_nontls_entries()
4421 && elf_hash_table (dinfo->info)->dynamic_sections_created; in _frvfdpic_count_nontls_entries()
4426 || FRVFDPIC_FUNCDESC_LOCAL (dinfo->info, entry->d.h))); in _frvfdpic_count_nontls_entries()
4428 && entry->symndx == -1 && ! FRVFDPIC_SYM_LOCAL (dinfo->info, entry->d.h) in _frvfdpic_count_nontls_entries()
4429 && ! (dinfo->info->flags & DF_BIND_NOW) in _frvfdpic_count_nontls_entries()
4430 && elf_hash_table (dinfo->info)->dynamic_sections_created; in _frvfdpic_count_nontls_entries()
4434 dinfo->fd12 += 8; in _frvfdpic_count_nontls_entries()
4436 dinfo->fdlos += 8; in _frvfdpic_count_nontls_entries()
4438 dinfo->fdplt += 8; in _frvfdpic_count_nontls_entries()
4440 dinfo->fdhilo += 8; in _frvfdpic_count_nontls_entries()
4446 dinfo->lzplt += 8; in _frvfdpic_count_nontls_entries()
4456 struct _frvfdpic_dynamic_got_info *dinfo, in _frvfdpic_count_tls_entries() argument
4464 dinfo->got12 += 4 * l; in _frvfdpic_count_tls_entries()
4466 dinfo->gotlos += 4 * l; in _frvfdpic_count_tls_entries()
4468 dinfo->gothilo += 4 * l; in _frvfdpic_count_tls_entries()
4479 dinfo->info->flags |= DF_STATIC_TLS; in _frvfdpic_count_tls_entries()
4483 dinfo->tlsd12 += 8 * l; in _frvfdpic_count_tls_entries()
4485 dinfo->tlsdlos += 8 * l; in _frvfdpic_count_tls_entries()
4487 dinfo->tlsdplt += 8 * l; in _frvfdpic_count_tls_entries()
4489 dinfo->tlsdhilo += 8 * l; in _frvfdpic_count_tls_entries()
4501 struct _frvfdpic_dynamic_got_info *dinfo, in _frvfdpic_count_relocs_fixups() argument
4506 if (!dinfo->info->executable || dinfo->info->pie) in _frvfdpic_count_relocs_fixups()
4518 if (!dinfo->info->executable in _frvfdpic_count_relocs_fixups()
4520 && ! FRVFDPIC_SYM_LOCAL (dinfo->info, entry->d.h))) in _frvfdpic_count_relocs_fixups()
4525 if (entry->symndx != -1 || FRVFDPIC_SYM_LOCAL (dinfo->info, entry->d.h)) in _frvfdpic_count_relocs_fixups()
4540 || FRVFDPIC_FUNCDESC_LOCAL (dinfo->info, entry->d.h)) in _frvfdpic_count_relocs_fixups()
4559 dinfo->relocs += relocs; in _frvfdpic_count_relocs_fixups()
4560 dinfo->fixups += fixups; in _frvfdpic_count_relocs_fixups()
4561 dinfo->tls_ret_refs += tlsrets; in _frvfdpic_count_relocs_fixups()
4572 struct _frvfdpic_dynamic_got_info *dinfo, in _frvfdpic_relax_tls_entries() argument
4577 BFD_ASSERT (dinfo->info->executable in _frvfdpic_relax_tls_entries()
4578 || (dinfo->info->flags & DF_STATIC_TLS)); in _frvfdpic_relax_tls_entries()
4584 _frvfdpic_count_relocs_fixups (entry, dinfo, TRUE); in _frvfdpic_relax_tls_entries()
4585 _frvfdpic_count_tls_entries (entry, dinfo, TRUE); in _frvfdpic_relax_tls_entries()
4596 if (! dinfo->info->executable in _frvfdpic_relax_tls_entries()
4598 && ! FRVFDPIC_SYM_LOCAL (dinfo->info, entry->d.h))) in _frvfdpic_relax_tls_entries()
4620 && dinfo->info->executable && relaxing in _frvfdpic_relax_tls_entries()
4622 && FRVFDPIC_SYM_LOCAL (dinfo->info, entry->d.h) in _frvfdpic_relax_tls_entries()
4632 - tls_biased_base (dinfo->info) in _frvfdpic_relax_tls_entries()
4635 && (elf_hash_table (dinfo->info)->tls_sec->size in _frvfdpic_relax_tls_entries()
4640 _frvfdpic_count_relocs_fixups (entry, dinfo, TRUE); in _frvfdpic_relax_tls_entries()
4641 _frvfdpic_count_tls_entries (entry, dinfo, TRUE); in _frvfdpic_relax_tls_entries()
4655 && dinfo->got12 + dinfo->fd12 + dinfo->tlsd12 <= 4096 - 12 - 4 in _frvfdpic_relax_tls_entries()
4656 && (dinfo->got12 + dinfo->fd12 + dinfo->tlsd12 in _frvfdpic_relax_tls_entries()
4657 + dinfo->gotlos + dinfo->fdlos + dinfo->tlsdlos in _frvfdpic_relax_tls_entries()
4662 _frvfdpic_count_relocs_fixups (entry, dinfo, TRUE); in _frvfdpic_relax_tls_entries()
4663 _frvfdpic_count_tls_entries (entry, dinfo, TRUE); in _frvfdpic_relax_tls_entries()
4673 _frvfdpic_count_tls_entries (entry, dinfo, FALSE); in _frvfdpic_relax_tls_entries()
4674 _frvfdpic_count_relocs_fixups (entry, dinfo, FALSE); in _frvfdpic_relax_tls_entries()
4689 struct _frvfdpic_dynamic_got_info *dinfo = dinfo_; in _frvfdpic_count_got_plt_entries() local
4691 _frvfdpic_count_nontls_entries (entry, dinfo); in _frvfdpic_count_got_plt_entries()
4693 if (dinfo->info->executable || (dinfo->info->flags & DF_STATIC_TLS)) in _frvfdpic_count_got_plt_entries()
4694 _frvfdpic_relax_tls_entries (entry, dinfo, FALSE); in _frvfdpic_count_got_plt_entries()
4697 _frvfdpic_count_tls_entries (entry, dinfo, FALSE); in _frvfdpic_count_got_plt_entries()
4698 _frvfdpic_count_relocs_fixups (entry, dinfo, FALSE); in _frvfdpic_count_got_plt_entries()
4962 struct _frvfdpic_dynamic_got_plt_info *dinfo = info_; in _frvfdpic_assign_got_entries() local
4965 entry->got_entry = _frvfdpic_get_got_entry (&dinfo->got12); in _frvfdpic_assign_got_entries()
4967 entry->got_entry = _frvfdpic_get_got_entry (&dinfo->gotlos); in _frvfdpic_assign_got_entries()
4969 entry->got_entry = _frvfdpic_get_got_entry (&dinfo->gothilo); in _frvfdpic_assign_got_entries()
4972 entry->fdgot_entry = _frvfdpic_get_got_entry (&dinfo->got12); in _frvfdpic_assign_got_entries()
4974 entry->fdgot_entry = _frvfdpic_get_got_entry (&dinfo->gotlos); in _frvfdpic_assign_got_entries()
4976 entry->fdgot_entry = _frvfdpic_get_got_entry (&dinfo->gothilo); in _frvfdpic_assign_got_entries()
4979 entry->fd_entry = _frvfdpic_get_fd_entry (&dinfo->got12); in _frvfdpic_assign_got_entries()
4980 else if (entry->plt && dinfo->got12.fdplt) in _frvfdpic_assign_got_entries()
4982 dinfo->got12.fdplt -= 8; in _frvfdpic_assign_got_entries()
4983 entry->fd_entry = _frvfdpic_get_fd_entry (&dinfo->got12); in _frvfdpic_assign_got_entries()
4986 entry->fd_entry = _frvfdpic_get_fd_entry (&dinfo->gotlos); in _frvfdpic_assign_got_entries()
4987 else if (entry->plt && dinfo->gotlos.fdplt) in _frvfdpic_assign_got_entries()
4989 dinfo->gotlos.fdplt -= 8; in _frvfdpic_assign_got_entries()
4990 entry->fd_entry = _frvfdpic_get_fd_entry (&dinfo->gotlos); in _frvfdpic_assign_got_entries()
4994 dinfo->gothilo.fdplt -= 8; in _frvfdpic_assign_got_entries()
4995 entry->fd_entry = _frvfdpic_get_fd_entry (&dinfo->gothilo); in _frvfdpic_assign_got_entries()
4998 entry->fd_entry = _frvfdpic_get_fd_entry (&dinfo->gothilo); in _frvfdpic_assign_got_entries()
5001 entry->tlsoff_entry = _frvfdpic_get_got_entry (&dinfo->got12); in _frvfdpic_assign_got_entries()
5003 entry->tlsoff_entry = _frvfdpic_get_got_entry (&dinfo->gotlos); in _frvfdpic_assign_got_entries()
5005 entry->tlsoff_entry = _frvfdpic_get_got_entry (&dinfo->gothilo); in _frvfdpic_assign_got_entries()
5008 entry->tlsdesc_entry = _frvfdpic_get_tlsdesc_entry (&dinfo->got12); in _frvfdpic_assign_got_entries()
5009 else if (entry->tlsplt && dinfo->got12.tlsdplt) in _frvfdpic_assign_got_entries()
5011 dinfo->got12.tlsdplt -= 8; in _frvfdpic_assign_got_entries()
5012 entry->tlsdesc_entry = _frvfdpic_get_tlsdesc_entry (&dinfo->got12); in _frvfdpic_assign_got_entries()
5015 entry->tlsdesc_entry = _frvfdpic_get_tlsdesc_entry (&dinfo->gotlos); in _frvfdpic_assign_got_entries()
5016 else if (entry->tlsplt && dinfo->gotlos.tlsdplt) in _frvfdpic_assign_got_entries()
5018 dinfo->gotlos.tlsdplt -= 8; in _frvfdpic_assign_got_entries()
5019 entry->tlsdesc_entry = _frvfdpic_get_tlsdesc_entry (&dinfo->gotlos); in _frvfdpic_assign_got_entries()
5023 dinfo->gothilo.tlsdplt -= 8; in _frvfdpic_assign_got_entries()
5024 entry->tlsdesc_entry = _frvfdpic_get_tlsdesc_entry (&dinfo->gothilo); in _frvfdpic_assign_got_entries()
5027 entry->tlsdesc_entry = _frvfdpic_get_tlsdesc_entry (&dinfo->gothilo); in _frvfdpic_assign_got_entries()
5040 struct _frvfdpic_dynamic_got_plt_info *dinfo = info_; in _frvfdpic_assign_plt_entries() local
5051 entry->plt_entry = frvfdpic_plt_section (dinfo->g.info)->size; in _frvfdpic_assign_plt_entries()
5065 frvfdpic_plt_section (dinfo->g.info)->size += size; in _frvfdpic_assign_plt_entries()
5070 entry->lzplt_entry = dinfo->g.lzplt; in _frvfdpic_assign_plt_entries()
5071 dinfo->g.lzplt += 8; in _frvfdpic_assign_plt_entries()
5076 dinfo->g.lzplt += 4; in _frvfdpic_assign_plt_entries()
5084 = frvfdpic_plt_section (dinfo->g.info)->size; in _frvfdpic_assign_plt_entries()
5086 if (dinfo->g.info->executable in _frvfdpic_assign_plt_entries()
5088 || FRVFDPIC_SYM_LOCAL (dinfo->g.info, entry->d.h))) in _frvfdpic_assign_plt_entries()
5097 && elf_hash_table (dinfo->g.info)->tls_sec in _frvfdpic_assign_plt_entries()
5098 && (elf_hash_table (dinfo->g.info)->tls_sec->size in _frvfdpic_assign_plt_entries()
5129 frvfdpic_plt_section (dinfo->g.info)->size += size; in _frvfdpic_assign_plt_entries()
5531 struct _frvfdpic_dynamic_got_info *dinfo; in _frvfdpic_check_discarded_relocs() local
5566 dinfo = frvfdpic_dynamic_got_plt_info (info); in _frvfdpic_check_discarded_relocs()
5568 _frvfdpic_count_relocs_fixups (picrel, dinfo, TRUE); in _frvfdpic_check_discarded_relocs()
5573 _frvfdpic_count_relocs_fixups (picrel, dinfo, FALSE); in _frvfdpic_check_discarded_relocs()
5625 struct _frvfdpic_dynamic_got_info *dinfo = dinfo_; in _frvfdpic_relax_got_plt_entries() local
5627 _frvfdpic_relax_tls_entries (entry, dinfo, TRUE); in _frvfdpic_relax_got_plt_entries()