Lines Matching defs:to

20    along with this program; if not, write to the Free Software
55 /* We must not create a stub for a symbol that has relocations related to
60 the initial global GOT entry to a local GOT entry. */
75 /* This structure is used to hold .got entries while estimating got sizes. */
88 that should be added to the symbol value. */
91 corresponding to a global symbol in the got (or, local, if
96 /* The offset from the beginning of the .got section to the entry
97 corresponding to this symbol+addend. If it's a global symbol
98 whose offset is yet to be decided, it's going to be -1. */
102 /* This structure is passed to score_elf_sort_hash_table_f when sorting
109 /* The least dynamic symbol table index corresponding to a symbol with a GOT entry. */
111 /* The greatest dynamic symbol table index corresponding to a symbol
113 with dynamic relocations pointing to it from non-primary GOTs). */
115 /* The greatest dynamic symbol table index not corresponding to a
133 /* In multi-got links, a pointer to the next got (err, rather, most
134 of the time, it points to the previous got). */
138 /* A structure used to count GOT entries, for GOT entry or ELF symbol table traversal. */
171 /* The maximum size of the GOT for it to be addressable using 15-bit offsets from $gp. */
310 /* We have to figure out the gp value, so that we can adjust the
313 target data. We don't need to adjust the symbol value for an
406 /* Set val to the offset into the section or symbol. */
413 are producing relocatable output, we don't want to do this for
505 like any other 16-bit relocation when applied to global symbols, but is
506 treated in the same as R_SCORE_HI16 when applied to local symbols. */
740 /* GNU extension to record C++ vtable hierarchy. */
755 /* GNU extension to record C++ vtable member usage */
770 /* Reference to global offset table. */
892 use all fields to compute the hash, and compare the appropriate
985 required. MAX_LOCAL is used to set the number of local symbols
986 known to be in the dynamic symbol table. During
1009 referenced, we move them to the end of the GOT, so that they
1019 /* There should have been enough room in the symbol table to
1083 /* This function is called via qsort() to sort the dynamic relocation
1122 /* Look up the hash table to check whether the symbol was forced local. */
1179 /* Create a rel.dyn relocation for the dynamic linker to resolve. REL
1221 the field to be fully relocated, so add in the symbol's value. */
1226 /* We must now calculate the dynamic symbol table index to use
1230 /* h->root.dynindx may be -1 if this symbol was marked to
1235 /* ??? glibc's ld.so just adds the final GOT entry to the
1248 this symbol will not be referred to by the relocation, we must
1250 Otherwise leave the job up to the dynamic linker. */
1258 /* For strict adherence to the ABI specification, we should
1263 loaders seems to care, we don't waste space with these
1264 artificial relocations. If this turns out to not be true,
1266 as to make room for a pair of dynamic relocations per
1273 /* Adjust the output offset of the relocation to reference the
1282 /* Put the relocation back out. We have to use the special
1293 will be writing to it. */
1325 /* We have to use an alignment of 2**4 here because this is hardcoded
1333 linker script because we don't want to define the symbol if we
1485 /* Since we're turning what used to be a global symbol into a
1532 symbol table index lower than any we've seen to date, record it for
1564 need to do it again. */
1579 /* By setting this to a value other than -1, we are indicating that
1580 there needs to be a GOT entry for H. Avoid using zero, as the
1657 indices into the GOT. That makes it easy to calculate the GOT
1683 points to the final symbol definition. P must point to a pointer
1684 to the hash table we're traversing. Since this traversal may
1685 modify the hash table, we set this pointer to NULL to indicate
1686 we've made a potentially-destructive change to the hash table, so
1716 moved, and leave it up to the parent to restart the
1721 /* We might want to decrement the global_gotno count, but it's
1745 /* Add INCREMENT to the reloc (of type HOWTO) at ADDRESS. for -r */
1854 /* The final GP value to be used for the relocatable, executable, or
1859 /* The value of GP used to create the relocatable object. */
1864 /* TRUE if the symbol referred to by this relocation is a local symbol. */
1888 /* And calculate GP relative to that. */
1893 /* If the relocate_section function needs to do a reloc
1895 callback to warn that GP is not defined. */
1929 and we're going to need it, get it now. */
1944 symbol is defined locally, or was forced to be local.
1953 /* There's no need to create a local GOT entry here; the
1965 /* Convert GOT indices to actual offsets. */
2002 to the dynamic linker. */
2120 /* The special case is when the symbol is forced to be local. We need the
2357 linker, so it's inappropriate to check to see whether or not
2376 and check to see if they exist by looking at their addresses. */
2415 /* This is a relocatable link. We don't have to change
2417 in which case we have to adjust according to where the
2439 /* If the overflowing reloc was to an undefined symbol,
2648 /* We only need to copy this reloc if the symbol is
2654 /* We need it to tell the dynamic linker if there
2693 related to taking the function's address. */
2802 dynamic object, but we're not including those sections. We have to
2803 change the definition to something the rest of the link can understand. */
2821 /* If this symbol is defined in a dynamic object, we need to copy
2843 the symbol to the stub location. This is required to make
2868 /* This will set the entry for this symbol in the GOT to 0, and
2875 processor independent code will have arranged for us to see the
2886 /* This is a reference to a symbol defined by a dynamic object which
2892 and the input sections have been assigned to output sections. */
2932 /* There has to be a global GOT entry for every symbol with
2934 higher. Therefore, it make sense to put those symbols
2984 /* Set the contents of the .interp section to the interpreter. */
3005 /* It's OK to base decisions on the section name, because none
3029 /* If this relocation section applies to a read only
3033 there exists a relocation to a read only section or
3043 to copy relocs into the output file. */
3052 to versions that we must now resolve in the got_entries
3078 /* Add some entries to the .dynamic section. We fill in the
3144 /* ABI requests the .dynamic section to be read only. */
3152 /* We need to create .got section. */
3239 to reset the global offset table entry for this external
3240 to its stub address when unlinking a shared object. */
3329 /* Assume that we're going to modify it and write it out. */
3376 to setting DT_SCORE_GOTSYM to the same value as
3416 /* We need to sort the entries of the dynamic relocation section. */
3451 it out. This is used to set the flags and type fields for some sections. */
3490 bfd_byte *to, *from, *end;
3499 to = contents;
3506 if (to != from)
3507 memcpy (to, from, PDR_SIZE);
3509 to += PDR_SIZE;
3517 /* Copy data from a SCORE ELF indirect symbol to its direct symbol, hiding the old