Lines Matching refs:sym_sec

4352 	       const asection *sym_sec,  in ppc_stub_name()  argument
4385 sym_sec->id & 0xffffffff, in ppc_stub_name()
4399 const asection *sym_sec, in ppc_get_stub_entry() argument
4424 stub_name = ppc_stub_name (id_sec, sym_sec, h, rel); in ppc_get_stub_entry()
7389 asection *sym_sec; in adjust_opd_syms() local
7403 sym_sec = eh->elf.root.u.def.section; in adjust_opd_syms()
7404 opd = get_opd_info (sym_sec); in adjust_opd_syms()
7411 asection *dsec = ppc64_elf_tdata (sym_sec->owner)->deleted_section; in adjust_opd_syms()
7414 for (dsec = sym_sec->owner->sections; dsec; dsec = dsec->next) in adjust_opd_syms()
7417 ppc64_elf_tdata (sym_sec->owner)->deleted_section = dsec; in adjust_opd_syms()
7444 asection *sym_sec = NULL; in dec_dynrel_count() local
7506 if (!get_sym_h (&h, &sym, &sym_sec, NULL, local_syms, r_symndx, ibfd)) in dec_dynrel_count()
7560 sym_sec = bfd_section_from_elf_index (sec->owner, sym->st_shndx); in dec_dynrel_count()
7561 if (sym_sec == NULL) in dec_dynrel_count()
7562 sym_sec = sec; in dec_dynrel_count()
7564 vpp = &elf_section_data (sym_sec)->local_dynrel; in dec_dynrel_count()
7655 asection *sym_sec; in ppc64_elf_edit_opd() local
7689 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, in ppc64_elf_edit_opd()
7693 if (sym_sec == NULL || sym_sec->owner == NULL) in ppc64_elf_edit_opd()
7700 sym_sec); in ppc64_elf_edit_opd()
7716 if (sym_sec->owner != ibfd in ppc64_elf_edit_opd()
7717 || sym_sec->output_section == bfd_abs_section_ptr) in ppc64_elf_edit_opd()
7822 asection *sym_sec; in ppc64_elf_edit_opd() local
7827 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, in ppc64_elf_edit_opd()
7857 skip = (sym_sec->owner != ibfd in ppc64_elf_edit_opd()
7858 || sym_sec->output_section == bfd_abs_section_ptr); in ppc64_elf_edit_opd()
7861 if (fdh != NULL && sym_sec->owner == ibfd) in ppc64_elf_edit_opd()
7866 fdh->elf.root.u.def.section = sym_sec; in ppc64_elf_edit_opd()
8182 asection *sym_sec; in ppc64_elf_tls_optimize() local
8192 if (!get_sym_h (&h, &sym, &sym_sec, &tls_mask, &locsyms, in ppc64_elf_tls_optimize()
8236 value += sym_sec->output_offset; in ppc64_elf_tls_optimize()
8237 value += sym_sec->output_section->vma; in ppc64_elf_tls_optimize()
8329 if (sym_sec == NULL || sym_sec != toc) in ppc64_elf_tls_optimize()
8701 asection *sym_sec; in ppc64_elf_edit_toc() local
8722 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, in ppc64_elf_edit_toc()
8726 if (sym_sec != toc) in ppc64_elf_edit_toc()
8780 asection *sym_sec; in ppc64_elf_edit_toc() local
8790 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, in ppc64_elf_edit_toc()
8794 if (sym_sec == NULL in ppc64_elf_edit_toc()
8795 || discarded_section (sym_sec)) in ppc64_elf_edit_toc()
8814 val += sym_sec->output_section->vma + sym_sec->output_offset; in ppc64_elf_edit_toc()
8897 asection *sym_sec; in ppc64_elf_edit_toc() local
8976 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, in ppc64_elf_edit_toc()
8983 if (sym_sec != toc) in ppc64_elf_edit_toc()
9118 asection *sym_sec; in ppc64_elf_edit_toc() local
9139 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, in ppc64_elf_edit_toc()
9143 if (sym_sec != toc) in ppc64_elf_edit_toc()
11529 asection *sym_sec; in toc_adjusting_stub_needed() local
11542 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, r_symndx, in toc_adjusting_stub_needed()
11561 if (sym_sec == NULL) in toc_adjusting_stub_needed()
11567 if (sym_sec->output_section == NULL) in toc_adjusting_stub_needed()
11585 opd = get_opd_info (sym_sec); in toc_adjusting_stub_needed()
11599 dest = opd_entry_value (sym_sec, sym_value, in toc_adjusting_stub_needed()
11600 &sym_sec, NULL, FALSE); in toc_adjusting_stub_needed()
11606 + sym_sec->output_offset in toc_adjusting_stub_needed()
11607 + sym_sec->output_section->vma); in toc_adjusting_stub_needed()
11610 if (sym_sec == isec) in toc_adjusting_stub_needed()
11614 if (sym_sec->has_toc_reloc in toc_adjusting_stub_needed()
11615 || sym_sec->makes_toc_func_call) in toc_adjusting_stub_needed()
11637 else if (sym_sec->call_check_in_progress) in toc_adjusting_stub_needed()
11642 else if (!sym_sec->call_check_done) in toc_adjusting_stub_needed()
11650 recur = toc_adjusting_stub_needed (info, sym_sec); in toc_adjusting_stub_needed()
12067 asection *sym_sec, *code_sec; in ppc64_elf_size_stubs() local
12099 if (!get_sym_h (&h, &sym, &sym_sec, NULL, &local_syms, in ppc64_elf_size_stubs()
12116 if (sym_sec->output_section != NULL) in ppc64_elf_size_stubs()
12131 sym_sec = fdh->elf.root.u.def.section; in ppc64_elf_size_stubs()
12133 if (sym_sec->output_section != NULL) in ppc64_elf_size_stubs()
12152 + sym_sec->output_offset in ppc64_elf_size_stubs()
12153 + sym_sec->output_section->vma); in ppc64_elf_size_stubs()
12159 code_sec = sym_sec; in ppc64_elf_size_stubs()
12161 opd = get_opd_info (sym_sec); in ppc64_elf_size_stubs()
12174 dest = opd_entry_value (sym_sec, sym_value, in ppc64_elf_size_stubs()
12250 stub_name = ppc_stub_name (id_sec, sym_sec, hash, irela); in ppc64_elf_size_stubs()
12290 stub_entry->target_section = sym_sec; in ppc64_elf_size_stubs()