Lines Matching defs:to

21    along with this program; if not, write to the Free Software
49 /* We must not create a stub for a symbol that has relocations related to
54 the initial global GOT entry to a local GOT entry. */
65 /* This structure is used to hold .got entries while estimating got sizes. */
78 that should be added to the symbol value. */
81 corresponding to a global symbol in the got (or, local, if
86 /* The offset from the beginning of the .got section to the entry
87 corresponding to this symbol+addend. If it's a global symbol
88 whose offset is yet to be decided, it's going to be -1. */
92 /* This structure is passed to score_elf_sort_hash_table_f when sorting
98 /* The least dynamic symbol table index corresponding to a symbol with a GOT entry. */
100 /* The greatest dynamic symbol table index corresponding to a symbol
102 with dynamic relocations pointing to it from non-primary GOTs). */
104 /* The greatest dynamic symbol table index not corresponding to a
122 /* In multi-got links, a pointer to the next got (err, rather, most
123 of the time, it points to the previous got). */
127 /* A structure used to count GOT entries, for GOT entry or ELF symbol table traversal. */
161 /* The maximum size of the GOT for it to be addressable using 15-bit offsets from $gp. */
296 /* We have to figure out the gp value, so that we can adjust the
299 target data. We don't need to adjust the symbol value for an
392 /* Set val to the offset into the section or symbol. */
399 are producing relocatable output, we don't want to do this for
491 like any other 16-bit relocation when applied to global symbols, but is
492 treated in the same as R_SCORE_HI16 when applied to local symbols. */
725 /* GNU extension to record C++ vtable hierarchy. */
740 /* GNU extension to record C++ vtable member usage */
755 /* Reference to global offset table. */
887 use all fields to compute the hash, and compare the appropriate
980 required. MAX_LOCAL is used to set the number of local symbols
981 known to be in the dynamic symbol table. During
1004 referenced, we move them to the end of the GOT, so that they
1013 /* There should have been enough room in the symbol table to
1047 /* This function is called via qsort() to sort the dynamic relocation
1084 /* Look up the hash table to check whether the symbol was forced local. */
1141 /* Create a rel.dyn relocation for the dynamic linker to resolve. REL
1183 the field to be fully relocated, so add in the symbol's value. */
1188 /* We must now calculate the dynamic symbol table index to use
1192 /* h->root.dynindx may be -1 if this symbol was marked to
1197 /* ??? glibc's ld.so just adds the final GOT entry to the
1210 this symbol will not be referred to by the relocation, we must
1212 Otherwise leave the job up to the dynamic linker. */
1220 /* For strict adherence to the ABI specification, we should
1225 loaders seems to care, we don't waste space with these
1226 artificial relocations. If this turns out to not be true,
1228 as to make room for a pair of dynamic relocations per
1235 /* Adjust the output offset of the relocation to reference the
1244 /* Put the relocation back out. We have to use the special
1255 will be writing to it. */
1287 /* We have to use an alignment of 2**4 here because this is hardcoded
1296 linker script because we don't want to define the symbol if we
1450 /* Since we're turning what used to be a global symbol into a
1497 symbol table index lower than any we've seen to date, record it for
1529 need to do it again. */
1544 /* By setting this to a value other than -1, we are indicating that
1545 there needs to be a GOT entry for H. Avoid using zero, as the
1622 indices into the GOT. That makes it easy to calculate the GOT
1649 points to the final symbol definition. P must point to a pointer
1650 to the hash table we're traversing. Since this traversal may
1651 modify the hash table, we set this pointer to NULL to indicate
1652 we've made a potentially-destructive change to the hash table, so
1683 moved, and leave it up to the parent to restart the
1688 /* We might want to decrement the global_gotno count, but it's
1713 /* Add INCREMENT to the reloc (of type HOWTO) at ADDRESS. for -r */
1827 /* The final GP value to be used for the relocatable, executable, or
1832 /* The value of GP used to create the relocatable object. */
1837 /* TRUE if the symbol referred to by this relocation is a local symbol. */
1869 /* And calculate GP relative to that. */
1874 /* If the relocate_section function needs to do a reloc
1876 callback to warn that GP is not defined. */
1964 and we're going to need it, get it now. */
1979 symbol is defined locally, or was forced to be local.
1988 /* There's no need to create a local GOT entry here; the
2000 /* Convert GOT indices to actual offsets. */
2037 to the dynamic linker. */
2166 /* The special case is when the symbol is forced to be local. We need the
2413 linker, so it's inappropriate to check to see whether or not
2432 and check to see if they exist by looking at their addresses. */
2463 /* This is a relocatable link. We don't have to change
2465 in which case we have to adjust according to where the
2532 /* If the overflowing reloc was to an undefined symbol,
2748 /* We only need to copy this reloc if the symbol is
2754 /* We need it to tell the dynamic linker if there
2793 related to taking the function's address. */
2902 dynamic object, but we're not including those sections. We have to
2903 change the definition to something the rest of the link can understand. */
2921 /* If this symbol is defined in a dynamic object, we need to copy
2943 the symbol to the stub location. This is required to make
2968 /* This will set the entry for this symbol in the GOT to 0, and
2975 processor independent code will have arranged for us to see the
2986 /* This is a reference to a symbol defined by a dynamic object which
2992 and the input sections have been assigned to output sections. */
3032 /* There has to be a global GOT entry for every symbol with
3034 higher. Therefore, it make sense to put those symbols
3084 /* Set the contents of the .interp section to the interpreter. */
3105 /* It's OK to base decisions on the section name, because none
3129 /* If this relocation section applies to a read only
3133 there exists a relocation to a read only section or
3143 to copy relocs into the output file. */
3152 to versions that we must now resolve in the got_entries
3178 /* Add some entries to the .dynamic section. We fill in the
3244 /* ABI requests the .dynamic section to be read only. */
3252 /* We need to create .got section. */
3339 to reset the global offset table entry for this external
3340 to its stub address when unlinking a shared object. */
3430 /* Assume that we're going to modify it and write it out. */
3474 to setting DT_SCORE_GOTSYM to the same value as
3513 /* We need to sort the entries of the dynamic relocation section. */
3548 it out. This is used to set the flags and type fields for some sections. */
3585 bfd_byte *to, *from, *end;
3594 to = contents;
3601 if (to != from)
3602 memcpy (to, from, PDR_SIZE);
3604 to += PDR_SIZE;
3612 /* Copy data from a SCORE ELF indirect symbol to its direct symbol, hiding the old