Lines Matching defs:to

18    along with this program; if not, write to the Free Software
46 identical manner, we use ELF32_R_TYPE instead of ELF64_R_TYPE to get
188 R_X86_64_standard counts the number up to this point, and
189 R_X86_64_vt_offset is the value to subtract from a reloc type of
190 R_X86_64_GNU_VT* to form an index into this table. */
194 /* GNU extension to record C++ vtable hierarchy. */
198 /* GNU extension to record C++ vtable member usage. */
216 /* Map BFD relocs to the x86_64 elf relocs. */
539 /* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
541 section, and instead use a dynamic relocation to point into the
554 SVR4 ABI i386 supplement and the x86-64 ABI to see how this works. */
568 0, 0, 0, 0, /* replaced with offset to this symbol in .got. */
572 0, 0, 0, 0 /* replaced with offset to start of .plt0. */
611 0, 0, 0, 0, /* replaced with offset to this symbol in .got. */
621 0, 0, 0, 0, /* replaced with offset to this symbol in .got. */
652 DW_CFA_advance_loc + 6, /* DW_CFA_advance_loc: 6 to __PLT__+6 */
654 DW_CFA_advance_loc + 10, /* DW_CFA_advance_loc: 10 to __PLT__+16 */
687 DW_CFA_advance_loc + 6, /* DW_CFA_advance_loc: 6 to __PLT__+6 */
689 DW_CFA_advance_loc + 10, /* DW_CFA_advance_loc: 10 to __PLT__+16 */
735 /* Offsets into plt0_entry that are to be replaced with GOT[1] and GOT[2]. */
743 /* Offsets into plt_entry that are to be replaced with... */
746 unsigned int plt_plt_offset; /* ... offset to start of .plt. */
751 /* Offset of the end of the PC-relative jump to plt0_entry. */
818 /* Is a undefined weak symbol which is resolved to 0. Reference to an
819 undefined weak symbol is resolved to 0 when building executable if
858 independent code will have arranged for us to see the real
859 definition first. We need to copy the needs_copy bit from the
935 /* Short-cuts to get to dynamic linker sections. */
970 to be necessary yet), and -1 if needed but not determined
983 to read-only sections. */
1175 .rela.bss sections in DYNOBJ, and set up shortcuts to them in our
1191 /* Set the contents of the .interp section to the interpreter. */
1217 /* Align .got section to its entry size. */
1222 /* Align .got.plt section to its entry size. */
1253 /* Add reloc counts against the indirect sym to the direct sym
1288 /* If called to transfer flags for a weakdef during processing
1367 which may be converted to
1369 can transit to different access model. For 32bit, only
1376 which may be converted to
1378 can transit to different access model. For largepic,
1442 which may be converted to
1444 can transit to different access model. For largepic
1496 /* Use strncmp to check __tls_get_addr since
1556 Make sure it's a leaq adding rip to a 32-bit offset
1558 going to be rax. */
1651 elf_x86_64_check_relocs. We only want to check the new
1678 reloc_howto_type *from, *to;
1682 to = elf_x86_64_rtype_to_howto (abfd, to_type);
1705 (_("%B: TLS transition from %s to %s against `%s' at 0x%lx "
1707 abfd, sec, from->name, to->name, name,
1717 /* Rename some of the generic section flags to better document how they
1774 to
1778 to
1782 to
1786 to
1828 /* TRUE if we can convert only to R_X86_64_PC32. Enable it for
1837 /* Convert mov to lea since it has been done for a while. */
1847 /* We convert only to R_X86_64_PC32:
1858 /* Get the symbol referred to by the reloc. */
1886 GOTPCRELX relocations since we need to modify REX byte.
1887 It is OK convert mov with R_X86_64_GOTPCREL to
1903 /* For non-branch instructions, we can convert to
1910 we can't convert to R_X86_64_PC32. */
1959 adjusted, so all references to such symbols need to be
1965 sections to a relocation against the section symbol when
1968 offset passed to _bfd_merged_section_offset, since the
1970 other hand, an access to "sym+addend" where "sym" is not
1972 access is presumed to be an offset from "sym"; The
2001 used to decompress the compressed input section. */
2009 /* Skip debug sections since compressed_size is used to
2047 /* Convert R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX to
2052 /* Convert to "jmp foo nop". */
2065 /* Convert to "nop call foo". ADDR_PREFIX_OPCODE
2107 /* Convert "mov foo@GOTPCREL(%rip), %reg" to
2114 /* Convert "mov foo@GOTPCREL(%rip), %reg" to
2129 use R_X86_64_32 and clear the W bit to avoid
2130 sign-extend imm32 to imm64. */
2147 /* Convert "test %reg, foo@GOTPCREL(%rip)" to
2154 /* Convert "binop foo@GOTPCREL(%rip), %reg" to
2160 /* Use R_X86_64_32 with 32-bit operand to avoid relocation
2161 overflow when sign-extending imm32 to imm64. */
2169 /* Move the R bit to the B bit in REX byte. */
2211 and PLT reference counting (ie. we don't allow them to create GOT
2212 or PLT entries), there's no possibility or desire to optimize TLS
2213 relocs, and there's not much point in propagating relocs to shared
2510 there is no point to use dynamic model for it. */
2568 don't need to generate a procedure linkage table entry
2582 /* This tries to form the 'address' of a function relative
2583 to GOT. For global symbols we need a PLT entry. */
2603 /* Check relocation overflow as these relocs may lead to
2637 sections have not yet been mapped to output sections.
2677 against a local symbol, then we need to copy the reloc
2679 -Bsymbolic, we do not need to copy a reloc against a
2693 may need to keep relocations for symbols satisfied by a
2694 dynamic library if we manage to avoid copy relocs for the
2742 We really need local syms available to do this
2906 is resolved to 0. */
2926 dynamic object, but we're not including those sections. We have to
2927 change the definition to something the rest of the link can
2999 file, but the symbol was never referred to by a dynamic
3001 such a case, we don't actually need to build a procedure
3011 needed for an R_X86_64_PC32 reloc to a non-function sym in
3018 processor independent code will have arranged for us to see the
3035 /* This is a reference to a symbol defined by a dynamic object which
3039 only references to the symbol are via the global offset table.
3045 /* If there are no references to this symbol that do not use the
3046 GOT, we don't need to generate a copy reloc. */
3080 from the dynamic object to this symbol will go through the global
3081 offset table. The dynamic linker will use the .dynsym entry to
3083 both the dynamic object and the regular object will refer to the
3090 /* We must generate a R_X86_64_COPY reloc to tell the dynamic linker
3091 to copy the initial value out of the dynamic object and into the
3236 first entry. The .plt section is used by prelink to undo
3251 not generating a shared library, then set the symbol to this
3252 location in the .plt. This is required to make function
3260 /* We need to make a call to the entry of the GOT PLT
3269 /* We need to make a call to the entry of the second
3291 /* We also need to make an entry in the .got.plt section,
3300 /* We also need to make an entry in the .rela.plt
3323 /* If R_X86_64_GOTTPOFF symbol is now local to the binary,
3394 dynamic pc-relative relocs against symbols which turn out to be
3396 space for pc-relative relocs that have become local due to symbol
3403 We want calls to protected symbols to resolve directly to the
3405 function pointer comparisons to work as expected then they
3439 symbols which turn out to need copy relocs. */
3460 symbols which turn out to need copy relocs or are not
3528 /* Find any dynamic relocs that apply to read-only sections. */
3566 /* Convert load via the GOT slot to load immediate. */
3580 /* Don't even try to convert non-ELF outputs. */
3584 /* Nothing to do if there is no need or no output. */
3750 it is a copy of a linkonce section or due to
3847 it's not incremented, so in order to compute the space reserved
3848 for them, it suffices to multiply the reloc count by the jump
3884 entries and there is no refeence to _GLOBAL_OFFSET_TABLE_. */
3957 to copy relocs into the output file. */
3970 output file. This is mostly to handle .rela.bss and
3973 before the linker maps input sections to output
3976 function which decides whether anything needs to go
4029 /* Add some entries to the .dynamic section. We fill in the
4071 /* If any dynamic relocs apply to a read-only section,
4142 /* _TLS_MODULE_BASE_ needs to be treated especially when linking
4143 executables. Rather than setting it to the beginning of the TLS
4144 section, we have to set it to the end. This function may be called
4350 eh_frame editing code expects to be present. */
4370 zero-extend it to 64bit if addend is zero. */
4377 zero-extend it to 64bit if addend is zero. */
4421 /* We can't use h->got.offset here to save state, or
4448 we use the least significant bit to record
4452 relocation entry to initialize the value. This
4558 /* Need a dynamic relocation to get the real function
4600 do not want to fiddle with the addend. Otherwise,
4601 we need to include the symbol value so that it
4622 copied into the output file to be resolved at run time. */
4627 /* Relocation is to the entry for this symbol in the global
4650 /* We can't use h->got.offset here to save
4669 was forced to be local because of a version file. We
4672 use the least significant bit to record whether we
4676 relocation entry to initialize the value. This is
4700 the least significant bit to record whether we have
4714 /* We need to generate a R_X86_64_RELATIVE reloc
4747 /* Relocation is relative to the start of the global offset
4750 /* Check to make sure it isn't a protected function or data
4753 need to make sure that a symbol is referenced locally. */
4803 permitted by the ABI, we might have to change this
4818 /* Relocation is PLT entry relative to GOT. For local
4819 symbols it's the symbol itself relative to GOT. */
4855 /* Relocation is to the entry for this symbol in the
4901 /* Set to symbol size. */
4938 locally. We only allow branch to symbol with
4956 the same when it's zeroextended to 64 bit. */
5002 are copied into the output file to be resolved at run
5021 /* h->dynindx may be -1 if this symbol was marked to
5035 /* This symbol is local, or marked to become local.
5037 convert R_X86_64_32 to dynamic R_X86_64_RELATIVE. */
5103 proper to subtract the symbol's value,
5132 not want to fiddle with the addend. Otherwise, we
5133 need to include the symbol value so that it becomes
5173 which may be converted to
5185 which may be converted to
5233 Change it to:
5464 which may be converted to
5476 which may be converted to
5530 Change it to:
5535 suffices to change the second byte from 0x8d to
5555 Change it to:
5587 which may be converted to
5760 /* It is too late to remove an empty reloc section. Leave
5848 corresponds to this symbol. This is the index of this symbol
5853 corresponds to this function. Each .got entry is GOT_ENTRY_SIZE
5920 /* Put offset the PC-relative instruction referring to the GOT entry,
5940 points to the second part of the PLT entry. Leave the entry
6042 /* Put offset the PC-relative instruction referring to the GOT
6072 for the dynamic linker, to make function pointer
6074 library), otherwise set it to zero. If a function is only
6075 called from a binary, there is no need to slow down
6102 symbol is defined locally or was forced to be local because
6103 of a version file, we just want to emit a RELATIVE reloc.
6114 /* use .rel[a].iplt section to store .got relocations
6239 /* Used to decide how to sort relocs in an optimal manner for the
6383 subtracting the offset to the end of that instruction. */
6418 to the end of that instruction. */
6449 /* Set the first entry in the global offset table to the address of
6562 It has to be done before elf_link_sort_relocs is called so that
6603 /* Get the .plt section contents. PLT passed down may point to the
6604 .plt.bnd section. Make sure that PLT always points to the .plt
6687 /* Similar to _bfd_elf_get_synthetic_symtab, with .plt.bnd section
6698 /* Pass the .plt.bnd section to _bfd_elf_ifunc_get_synthetic_symtab
6726 file. We use it to put SHN_X86_64_LCOMMON items in .lbss, instead
6764 /* Given a BFD section, try to locate the corresponding ELF section
6863 /* Check to see if we need a large readonly segment. */
6868 /* Check to see if we need a large data segment. Since .lbss sections
7041 /* The 64-bit static TLS arena size is rounded to the nearest 16-byte
7062 /* PR 19938: FIXME: Need to add code for setting the sh_info
7119 /* 9-byte nop sequence to pad out to the next 32-byte boundary. */
7122 /* 32 bytes of nop to pad out to the standard size. */
7138 /* 15-byte nop sequence to pad out to the next 32-byte boundary. */
7146 0, 0, 0, 0, /* replaced with offset to start of .plt0. */
7148 /* 22 bytes of nop to pad out to the standard size. */
7183 DW_CFA_advance_loc + 6, /* DW_CFA_advance_loc: 6 to __PLT__+6 */
7185 DW_CFA_advance_loc + 58, /* DW_CFA_advance_loc: 58 to __PLT__+64 */