Lines Matching defs:to
18 along with this program; if not, write to the Free Software
45 identical manner, we use ELF32_R_TYPE instead of ELF64_R_TYPE to get
181 R_X86_64_standard counts the number up to this point, and
182 R_X86_64_vt_offset is the value to subtract from a reloc type of
183 R_X86_64_GNU_VT* to form an index into this table. */
187 /* GNU extension to record C++ vtable hierarchy. */
191 /* GNU extension to record C++ vtable member usage. */
209 /* Map BFD relocs to the x86_64 elf relocs. */
529 /* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
531 section, and instead use a dynamic relocation to point into the
544 SVR4 ABI i386 supplement and the x86-64 ABI to see how this works. */
558 0, 0, 0, 0, /* replaced with offset to this symbol in .got. */
562 0, 0, 0, 0 /* replaced with offset to start of .plt0. */
601 0, 0, 0, 0, /* replaced with offset to this symbol in .got. */
611 0, 0, 0, 0, /* replaced with offset to this symbol in .got. */
642 DW_CFA_advance_loc + 6, /* DW_CFA_advance_loc: 6 to __PLT__+6 */
644 DW_CFA_advance_loc + 10, /* DW_CFA_advance_loc: 10 to __PLT__+16 */
663 /* Offsets into plt0_entry that are to be replaced with GOT[1] and GOT[2]. */
671 /* Offsets into plt_entry that are to be replaced with... */
674 unsigned int plt_plt_offset; /* ... offset to start of .plt. */
679 /* Offset of the end of the PC-relative jump to plt0_entry. */
815 /* Short-cuts to get to dynamic linker sections. */
848 to be necessary yet), and -1 if needed but not determined
1041 .rela.bss sections in DYNOBJ, and set up shortcuts to them in our
1103 /* Add reloc counts against the indirect sym to the direct sym
1138 /* If called to transfer flags for a weakdef during processing
1195 /* FIXME: How to better handle error condition? */
1218 can transit to different access model. For 32bit, only
1221 can transit to different access model. For largepic
1264 can transit to different access model. For largepic
1296 /* Use strncmp to check __tls_get_addr since __tls_get_addr
1344 Make sure it's a leaq adding rip to a 32-bit offset
1346 going to be rax. */
1439 elf_x86_64_check_relocs. We only want to check the new
1466 reloc_howto_type *from, *to;
1470 to = elf_x86_64_rtype_to_howto (abfd, to_type);
1492 (_("%B: TLS transition from %s to %s against `%s' at 0x%lx "
1494 abfd, sec, from->name, to->name, name,
1789 there is no point to use dynamic model for it. */
1844 don't need to generate a procedure linkage table entry
1857 /* This tries to form the 'address' of a function relative
1858 to GOT. For global symbols we need a PLT entry. */
1909 sections have not yet been mapped to output sections.
1915 refers to is in a shared lib. */
1927 against a local symbol, then we need to copy the reloc
1929 -Bsymbolic, we do not need to copy a reloc against a
1943 may need to keep relocations for symbols satisfied by a
1944 dynamic library if we manage to avoid copy relocs for the
1988 We really need local syms available to do this
2230 dynamic object, but we're not including those sections. We have to
2231 change the definition to something the rest of the link can
2298 file, but the symbol was never referred to by a dynamic
2300 such a case, we don't actually need to build a procedure
2310 needed for an R_X86_64_PC32 reloc to a non-function sym in
2317 processor independent code will have arranged for us to see the
2330 /* This is a reference to a symbol defined by a dynamic object which
2334 only references to the symbol are via the global offset table.
2340 /* If there are no references to this symbol that do not use the
2341 GOT, we don't need to generate a copy reloc. */
2375 from the dynamic object to this symbol will go through the global
2376 offset table. The dynamic linker will use the .dynsym entry to
2378 both the dynamic object and the regular object will refer to the
2385 /* We must generate a R_X86_64_COPY reloc to tell the dynamic linker
2386 to copy the initial value out of the dynamic object and into the
2480 not generating a shared library, then set the symbol to this
2481 location in the .plt. This is required to make function
2489 /* We need to make a call to the entry of the second
2510 /* We also need to make an entry in the .got.plt section, which
2514 /* We also need to make an entry in the .rela.plt section. */
2532 /* If R_X86_64_GOTTPOFF symbol is now local to the binary,
2600 dynamic pc-relative relocs against symbols which turn out to be
2602 space for pc-relative relocs that have become local due to symbol
2609 We want calls to protected symbols to resolve directly to the
2611 function pointer comparisons to work as expected then they
2648 symbols which turn out to need copy relocs or are not
2710 /* Find any dynamic relocs that apply to read-only sections. */
2748 to
2765 /* Don't even try to convert non-ELF outputs. */
2769 /* Nothing to do if there are no codes, no relocations or no output. */
2809 /* Get the symbol referred to by the reloc. */
2920 /* Set the contents of the .interp section to the interpreter. */
2962 it is a copy of a linkonce section or due to
3057 it's not incremented, so in order to compute the space reserved
3058 for them, it suffices to multiply the reloc count by the jump
3094 entries and there is no refeence to _GLOBAL_OFFSET_TABLE_. */
3147 to copy relocs into the output file. */
3160 output file. This is mostly to handle .rela.bss and
3163 before the linker maps input sections to output
3166 function which decides whether anything needs to go
3200 /* Add some entries to the .dynamic section. We fill in the
3235 /* If any dynamic relocs apply to a read-only section,
3297 /* _TLS_MODULE_BASE_ needs to be treated especially when linking
3298 executables. Rather than setting it to the beginning of the TLS
3299 section, we have to set it to the end. This function may be called
3496 zero-extend it to 64bit if addend is zero. */
3503 zero-extend it to 64bit if addend is zero. */
3596 /* Need a dynamic relocation to get the real function
3629 do not want to fiddle with the addend. Otherwise,
3630 we need to include the symbol value so that it
3653 /* We can't use h->got.offset here to save state, or
3677 we use the least significant bit to record
3681 relocation entry to initialize the value. This
3704 copied into the output file to be resolved at run time. */
3709 /* Relocation is to the entry for this symbol in the global
3730 /* We can't use h->got.offset here to save
3749 was forced to be local because of a version file. We
3752 use the least significant bit to record whether we
3756 relocation entry to initialize the value. This is
3780 the least significant bit to record whether we have
3794 /* We need to generate a R_X86_64_RELATIVE reloc
3824 /* Relocation is relative to the start of the global offset
3827 /* Check to make sure it isn't a protected function symbol
3847 permitted by the ABI, we might have to change this
3862 /* Relocation is PLT entry relative to GOT. For local
3863 symbols it's the symbol itself relative to GOT. */
3892 /* Relocation is to the entry for this symbol in the
3928 /* Set to symbol size. */
3956 branch to symbol with non-default visibility. */
4004 the same when it's zeroextended to 64 bit. */
4033 are copied into the output file to be resolved at run
4052 /* h->dynindx may be -1 if this symbol was marked to
4066 /* This symbol is local, or marked to become local. */
4128 proper to subtract the symbol's value,
4157 not want to fiddle with the addend. Otherwise, we
4158 need to include the symbol value so that it becomes
4242 Change it to:
4524 Change it to:
4527 /* Now modify the instruction as appropriate. To
4529 suffices to change the second byte from 0x8d to
4549 Change it to:
4781 corresponds to this symbol. This is the index of this symbol
4786 corresponds to this function. Each .got entry is GOT_ENTRY_SIZE
4855 /* Put offset the PC-relative instruction referring to the GOT entry,
4868 points to the second part of the PLT entry. */
4920 for the dynamic linker, to make function pointer
4922 library), otherwise set it to zero. If a function is only
4923 called from a binary, there is no need to slow down
4947 symbol is defined locally or was forced to be local because
4948 of a version file, we just want to emit a RELATIVE reloc.
5039 /* Used to decide how to sort relocs in an optimal manner for the
5127 Therefore, we override the DT_RELASZ entry here to
5129 linker script arranges for .rela.plt to follow all
5130 other relocation sections, we don't have to worry
5172 subtracting the offset to the end of that instruction. */
5207 to the end of that instruction. */
5238 /* Set the first entry in the global offset table to the address of
5375 /* Similar to _bfd_elf_get_synthetic_symtab, with .plt.bnd section
5507 file. We use it to put SHN_X86_64_LCOMMON items in .lbss, instead
5551 /* Given a BFD section, try to locate the corresponding ELF section
5650 /* Check to see if we need a large readonly segment. */
5655 /* Check to see if we need a large data segment. Since .lbss sections
5806 /* The 64-bit static TLS arena size is rounded to the nearest 16-byte
5867 /* 9-byte nop sequence to pad out to the next 32-byte boundary. */
5870 /* 32 bytes of nop to pad out to the standard size. */
5886 /* 15-byte nop sequence to pad out to the next 32-byte boundary. */
5894 0, 0, 0, 0, /* replaced with offset to start of .plt0. */
5896 /* 22 bytes of nop to pad out to the standard size. */
5931 DW_CFA_advance_loc + 6, /* DW_CFA_advance_loc: 6 to __PLT__+6 */
5933 DW_CFA_advance_loc + 58, /* DW_CFA_advance_loc: 58 to __PLT__+64 */