Lines Matching defs:to

21    along with this program; if not, write to the Free Software
52 /* We must not create a stub for a symbol that has relocations related to
57 the initial global GOT entry to a local GOT entry. */
68 /* This structure is used to hold .got entries while estimating got sizes. */
81 that should be added to the symbol value. */
84 corresponding to a global symbol in the got (or, local, if
89 /* The offset from the beginning of the .got section to the entry
90 corresponding to this symbol+addend. If it's a global symbol
91 whose offset is yet to be decided, it's going to be -1. */
95 /* This structure is passed to score_elf_sort_hash_table_f when sorting
102 /* The least dynamic symbol table index corresponding to a symbol with a GOT entry. */
104 /* The greatest dynamic symbol table index corresponding to a symbol
106 with dynamic relocations pointing to it from non-primary GOTs). */
108 /* The greatest dynamic symbol table index not corresponding to a
126 /* In multi-got links, a pointer to the next got (err, rather, most
127 of the time, it points to the previous got). */
131 /* A structure used to count GOT entries, for GOT entry or ELF symbol table traversal. */
164 /* The maximum size of the GOT for it to be addressable using 15-bit offsets from $gp. */
397 /* We have to figure out the gp value, so that we can adjust the
400 target data. We don't need to adjust the symbol value for an
492 /* Set val to the offset into the section or symbol. */
499 are producing relocatable output, we don't want to do this for
591 like any other 16-bit relocation when applied to global symbols, but is
592 treated in the same as R_SCORE_HI16 when applied to local symbols. */
825 /* GNU extension to record C++ vtable hierarchy. */
840 /* GNU extension to record C++ vtable member usage */
855 /* Reference to global offset table. */
1009 use all fields to compute the hash, and compare the appropriate
1096 required. MAX_LOCAL is used to set the number of local symbols
1097 known to be in the dynamic symbol table. During
1119 referenced, we move them to the end of the GOT, so that they
1128 /* There should have been enough room in the symbol table to
1191 /* This function is called via qsort() to sort the dynamic relocation
1228 /* Look up the hash table to check whether the symbol was forced local. */
1284 /* Create a rel.dyn relocation for the dynamic linker to resolve. REL
1325 the field to be fully relocated, so add in the symbol's value. */
1330 /* We must now calculate the dynamic symbol table index to use
1334 /* h->root.dynindx may be -1 if this symbol was marked to
1339 /* ??? glibc's ld.so just adds the final GOT entry to the
1352 this symbol will not be referred to by the relocation, we must
1354 Otherwise leave the job up to the dynamic linker. */
1362 /* For strict adherence to the ABI specification, we should
1367 loaders seems to care, we don't waste space with these
1368 artificial relocations. If this turns out to not be true,
1370 as to make room for a pair of dynamic relocations per
1377 /* Adjust the output offset of the relocation to reference the
1386 /* Put the relocation back out. We have to use the special
1397 will be writing to it. */
1429 /* We have to use an alignment of 2**4 here because this is hardcoded
1438 linker script because we don't want to define the symbol if we
1588 /* Since we're turning what used to be a global symbol into a
1635 symbol table index lower than any we've seen to date, record it for
1666 need to do it again. */
1681 /* By setting this to a value other than -1, we are indicating that
1682 there needs to be a GOT entry for H. Avoid using zero, as the
1757 indices into the GOT. That makes it easy to calculate the GOT
1784 points to the final symbol definition. P must point to a pointer
1785 to the hash table we're traversing. Since this traversal may
1786 modify the hash table, we set this pointer to NULL to indicate
1787 we've made a potentially-destructive change to the hash table, so
1817 moved, and leave it up to the parent to restart the
1822 /* We might want to decrement the global_gotno count, but it's
1846 /* Add INCREMENT to the reloc (of type HOWTO) at ADDRESS. for -r */
1983 /* The final GP value to be used for the relocatable, executable, or
1991 /* TRUE if the symbol referred to by this relocation is a local symbol. */
2016 /* And calculate GP relative to that. */
2021 /* If the relocate_section function needs to do a reloc
2023 callback to warn that GP is not defined. */
2062 and we're going to need it, get it now. */
2077 symbol is defined locally, or was forced to be local.
2086 /* There's no need to create a local GOT entry here; the
2098 /* Convert GOT indices to actual offsets. */
2134 to the dynamic linker. */
2326 /* The special case is when the symbol is forced to be local. We need the
2637 linker, so it's inappropriate to check to see whether or not
2656 and check to see if they exist by looking at their addresses. */
2687 /* This is a relocatable link. We don't have to change
2689 in which case we have to adjust according to where the
2719 /* If the overflowing reloc was to an undefined symbol,
2744 /* Use bfd_reloc_other to check lw48, sw48 word align. */
2939 /* We only need to copy this reloc if the symbol is
2945 /* We need it to tell the dynamic linker if there
2984 related to taking the function's address. */
3093 dynamic object, but we're not including those sections. We have to
3094 change the definition to something the rest of the link can understand. */
3111 /* If this symbol is defined in a dynamic object, we need to copy
3133 the symbol to the stub location. This is required to make
3158 /* This will set the entry for this symbol in the GOT to 0, and
3165 processor independent code will have arranged for us to see the
3176 /* This is a reference to a symbol defined by a dynamic object which
3182 and the input sections have been assigned to output sections. */
3221 /* There has to be a global GOT entry for every symbol with
3223 higher. Therefore, it make sense to put those symbols
3272 /* Set the contents of the .interp section to the interpreter. */
3293 /* It's OK to base decisions on the section name, because none
3317 /* If this relocation section applies to a read only
3321 there exists a relocation to a read only section or
3331 to copy relocs into the output file. */
3340 to versions that we must now resolve in the got_entries
3366 /* Add some entries to the .dynamic section. We fill in the
3432 /* ABI requests the .dynamic section to be read only. */
3440 /* We need to create .got section. */
3526 to reset the global offset table entry for this external
3527 to its stub address when unlinking a shared object. */
3616 /* Assume that we're going to modify it and write it out. */
3660 to setting DT_SCORE_GOTSYM to the same value as
3699 /* We need to sort the entries of the dynamic relocation section. */
3733 it out. This is used to set the flags and type fields for some sections. */
3769 bfd_byte *to, *from, *end;
3778 to = contents;
3785 if (to != from)
3786 memcpy (to, from, PDR_SIZE);
3788 to += PDR_SIZE;
3796 /* Copy data from a SCORE ELF indirect symbol to its direct symbol, hiding the old
4417 /* s3_s7: don't need to split. */