Lines Matching defs:got

2815    than one got entry per symbol.  */
2836 /* Non-zero if got.ent points to real entry. */
2845 } got;
2867 asection *got;
2874 /* TLS local dynamic got entry handling. Support for multiple GOT
2886 /* Nonzero if this bfd has small toc/got relocs, ie. that expect
2890 /* Set if toc/got ha relocs detected not using r2, or lo reloc
4088 /* The size of reliplt used by got entry relocs. */
4128 /* Nonzero if this section has any toc or got relocs. */
4132 the toc or got. */
4623 /* Create .got and .rela.got sections in ABFD, and .got in dynobj if
4629 asection *got, *relgot;
4645 got = bfd_make_section_anyway_with_flags (abfd, ".got", flags);
4646 if (!got
4647 || !bfd_set_section_alignment (abfd, got, 3))
4650 relgot = bfd_make_section_anyway_with_flags (abfd, ".rela.got",
4656 ppc64_elf_tdata (abfd)->got = got;
4753 dyn_relocs, plt/got info, or dynindx. We used to copy dyn_relocs
4823 /* Copy over got entries that we may have already seen to the
4825 if (eind->elf.got.glist != NULL)
4827 if (edir->elf.got.glist != NULL)
4832 for (entp = &eind->elf.got.glist; (ent = *entp) != NULL; )
4836 for (dent = edir->elf.got.glist; dent != NULL; dent = dent->next)
4841 dent->got.refcount += ent->got.refcount;
4848 *entp = edir->elf.got.glist;
4851 edir->elf.got.glist = eind->elf.got.glist;
4852 eind->elf.got.glist = NULL;
5297 ent->got.refcount = 0;
5300 ent->got.refcount += 1;
5510 if (ppc64_elf_tdata (abfd)->got == NULL
5520 for (ent = eh->elf.got.glist; ent != NULL; ent = ent->next)
5531 ent->next = eh->elf.got.glist;
5536 ent->got.refcount = 0;
5537 eh->elf.got.glist = ent;
5539 ent->got.refcount += 1;
6562 /* Update the .got, .plt. and dynamic reloc reference counts for the
6662 ent = h->got.glist;
6673 if (ent->got.refcount > 0)
6674 ent->got.refcount -= 1;
8441 relocate_section that optimization can be done, and adjust got
8793 /* Adjust got entry for this reloc. */
8795 ent = h->got.glist;
8809 /* We managed to get rid of a got entry. */
8810 if (ent->got.refcount > 0)
8811 ent->got.refcount -= 1;
8816 /* If we got rid of a DTPMOD/DTPREL reloc pair then
8910 on a _LO variety toc/got reloc. */
9061 . addis rx,2,addr@got@ha
9062 . ld ry,addr@got@l(rx)
9628 asection *got = ppc64_elf_tdata (gent->owner)->got;
9630 gent->got.offset = got->size;
9631 got->size += entsize;
9649 /* This function merges got entries in the same toc group. */
9665 ent2->got.ent = ent;
9669 /* Allocate space in .plt, .got and associated reloc sections for
9690 /* Run through the TLS GD got entries first if we're changing them
9693 for (gent = h->got.glist; gent != NULL; gent = gent->next)
9694 if (gent->got.refcount > 0
9700 for (ent = h->got.glist; ent != NULL; ent = ent->next)
9701 if (ent->got.refcount > 0
9706 gent->got.refcount = 0;
9711 if (gent->got.refcount != 0)
9718 pgent = &h->got.glist;
9720 if (gent->got.refcount > 0)
9725 ppc64_tlsld_got (gent->owner)->got.refcount += 1;
9735 merge_got_entries (&h->got.glist);
9737 for (gent = h->got.glist; gent != NULL; gent = gent->next)
10033 /* Set up .got offsets for local syms, and space for local dynamic
10084 s = ppc64_elf_tdata (ibfd)->got;
10091 if (ent->got.refcount > 0)
10095 ppc64_tlsld_got (ibfd)->got.refcount += 1;
10103 ent->got.offset = s->size;
10146 /* Allocate global sym .plt and .got entries, and space for global
10165 if (ent->got.refcount > 0)
10170 ent->got.ent = first_tlsld;
10176 s = ppc64_elf_tdata (ibfd)->got;
10177 ent->got.offset = s->size;
10188 ent->got.offset = (bfd_vma) -1;
10271 s = ppc64_elf_tdata (ibfd)->got;
11506 /* Keep track of the first .toc or .got section for this input bfd. */
11537 file .toc and .got together. */
11577 merge_got_entries (&h->got.glist);
11593 for (gent = h->got.glist; gent != NULL; gent = gent->next)
11615 /* Merge global sym got entries within a toc group. */
11628 && ent->got.offset != (bfd_vma) -1)
11637 && ent2->got.offset != (bfd_vma) -1
11641 ent2->got.ent = ent;
11647 /* Zap sizes of got sections. */
11654 asection *got, *relgot;
11659 got = ppc64_elf_tdata (ibfd)->got;
11660 if (got != NULL)
11662 got->rawsize = got->size;
11663 got->size = 0;
11670 /* Now reallocate the got, local syms first. We don't need to
11696 s = ppc64_elf_tdata (ibfd)->got;
11706 ent->got.offset = s->size;
11738 && ent->got.offset != (bfd_vma) -1)
11740 asection *s = ppc64_elf_tdata (ibfd)->got;
11741 ent->got.offset = s->size;
11755 asection *got;
11760 got = ppc64_elf_tdata (ibfd)->got;
11761 if (got != NULL)
11763 done_something = got->rawsize != got->size;
12863 /* The TOC consists of sections .got, .toc, .tocbss, .plt in that
12865 s = bfd_get_section_by_name (obfd, ".got");
14418 asection *got;
14449 ent = h->elf.got.glist;
14468 ent = ent->got.ent;
14469 offp = &ent->got.offset;
14470 got = ppc64_elf_tdata (ent->owner)->got;
14471 if (got == NULL)
14504 outrel.r_offset = (got->output_section->vma
14505 + got->output_offset
14538 /* Write the .got section contents for the sake
14540 loc = got->contents + off;
14562 /* Init the .got section contents here if we're not
14583 got->contents + off + 8);
14589 got->contents + off);
14596 relocation = got->output_section->vma + got->output_offset + off;
14662 The TOC consists of sections .got, .toc, .tocbss, and .plt,
15607 /* Set .got entry size. */
15725 s = ppc64_elf_tdata (dynobj)->got;