Lines Matching defs:got

617   0, 0, 0, 0,	/*  Replaced with address of .got + 4.  */
620 0, 0, 0, 0, /* Replaced with address of .got + 8. */
628 0, 0, 0, 0, /* Replaced by address of .got + 4. */
644 0, 0, 0, 0, /* Replaced with address of this symbol in .got. */
656 0, 0, 0, 0, /* Replaced with address of this symbol in .got. */
697 0, 0, 0, 0, /* Replaced with offset of this symbol in .got. */
709 0, 0, 0, 0, /* Replaced with offset of this symbol in .got. */
768 this with gotplt_refcount in a union, like the got and plt unions in
772 /* The root.got.refcount is the sum of the regular reference counts
775 regular got entry. The offset is in root.got.offset. */
780 root.got.offset, because this and .dtp_refcount can't validly
787 root.got.offset; plus 4 if .tprel_refcount > 0. */
1146 calculate it as we do when filling it in for the .got.plt
1174 && (h->got.offset == (bfd_vma) -1
1181 ((h->got.offset == (bfd_vma) -1)
1209 /* Note that despite using RELA relocations, the .got contents
1215 off = h->got.offset;
1249 will create a .rela.got relocation entry to
1258 h->got.offset |= 1;
1374 always want the start of entire .got section, not the
1404 start of the .got section. See also comment at
1598 already done so. Note that we do this in .got.plt, not
1599 in .got, as .got.plt contains the first part, still the
1600 reloc is against .got, because the linker script directs
1601 (is required to direct) them both into .got. */
1691 ? h->got.offset + 4 : h->got.offset;
1709 h->got.offset |= 2;
1730 ? h->got.offset + 4 : h->got.offset;
1747 h->got.offset |= 2;
1842 off = h->got.offset;
1854 h->got.offset |= 1;
1872 off = h->got.offset;
1885 h->got.offset |= 1;
2111 /* Get the index in the .rela.plt relocations for the .got.plt
2115 of the R_CRIS_DTPMOD entry at .got index 3 (offset 12 into
2116 .got.plt) for which gotplt_offset is adjusted, because while
2117 that entry goes into .got.plt, its relocation goes into
2118 .rela.got, not .rela.plt. (It's not PLT-specific; not to be
2125 /* Get the offset into the .got table of the entry that corresponds
2127 .got goes after .got.plt in the output without padding (pointer
2133 : h->got.offset + htab->next_gotplt_entry);
2218 /* For an ordinary program, we emit .got relocs only for symbols that
2223 if (h->got.offset != (bfd_vma) -1
2245 + (h->got.offset &~ (bfd_vma) 1));
2252 where = sgot->contents + (h->got.offset &~ (bfd_vma) 1);
2355 if all symbols are found in the .got (not .got.plt). */
2463 /* Update the got entry reference counts for the section being removed. */
2561 /* If the counters are 0 when we got here, we've
2563 BFD_ASSERT (h->got.refcount > 0);
2564 --h->got.refcount;
2570 /* We don't need the .got entry any more. */
2580 /* If the counters are 0 when we got here, we've
2589 /* We don't need the .got entry any more. */
2608 /* FIXME: We don't garbage-collect away the .got section. */
2664 asection *got;
2666 /* FIXME: the .got section should be readily available also when
2668 if ((got = bfd_get_section_by_name (abfd, ".got")) == NULL)
2677 got_vma_for_dyn = (abfd->flags & EXEC_P) ? 0 : got->vma;
2679 /* Because we can have merged GOT entries; a single .got entry for
2680 both GOT and the PLT part of the GOT (.got.plt), the index of the
2740 h->root.got.refcount += h->gotplt_refcount;
2754 BFD_ASSERT (h->root.got.refcount >= 0);
2755 h->root.got.refcount += h->gotplt_refcount;
2760 /* We always have a .got and a .rela.got section if there were
2764 /* Allocate space in the .got section. */
2806 if (h->root.got.refcount <= 0 || h->root.plt.refcount <= 0)
2876 when we know the address of the .got section. */
2893 change a .got.plt index to a .got index for GOTPLT relocs. */
2946 /* If there's already a GOT entry, use that, not a .got.plt. A
2952 if (bfd_link_pic (info) && h->got.refcount > 0)
2954 h->got.refcount += h->plt.refcount;
2965 that the got entry should be used instead. */
2981 /* We also need to make an entry in the .got.plt section, which
2982 will be placed in the .got section by the linker script. */
3210 /* The first .got.plt entry is right after the R_CRIS_DTPMOD
3251 /* We may have a dynobj but no .got section, if machine-
3253 a dynobj. We want to create the .got section now, so we
3374 if (h->got.refcount == 0)
3385 h->got.refcount++;
3393 /* Allocate space in the .got section. */
3406 /* Allocate space in the .got section. */
3419 /* Allocate space in the .got section. */
3443 Similarly for non-regular got entries. */
3459 FIXME: The actual refcount isn't used currently; the .got
3736 /* We may have created entries in the .rela.got section.
3738 not actually use these entries. Reset the size of .rela.got,
3783 else if (strcmp (name, ".got.plt") == 0)
3785 /* The .got.plt contains the .got header as well as the
3786 actual .got.plt contents. The .got header may contain a
3793 if (strcmp (name, ".rela.got") == 0
3810 else if (! CONST_STRNEQ (name, ".got")
3954 in the .got, but which we found we do not have to resolve at run-time. */
3963 referred to by .got references, but the symbol is defined locally,
3964 (or rather, not defined by a DSO) then lose the reloc for the .got
4283 /* We're only called when h->got.refcount is non-zero, so we must