Home
last modified time | relevance | path

Searched refs:tls_type (Results 1 – 25 of 29) sorted by relevance

12

/toolchain/binutils/binutils-2.25/bfd/
Delf32-i386.c737 unsigned char tls_type; member
856 eh->tls_type = GOT_UNKNOWN; in elf_i386_link_hash_newfunc()
1073 edir->tls_type = eind->tls_type; in elf_i386_copy_indirect_symbol()
1074 eind->tls_type = GOT_UNKNOWN; in elf_i386_copy_indirect_symbol()
1283 unsigned int *r_type, int tls_type, in elf_i386_tls_transition() argument
1326 && (tls_type & GOT_TLS_IE)) in elf_i386_tls_transition()
1333 if (tls_type == GOT_TLS_IE_POS) in elf_i386_tls_transition()
1335 else if (tls_type & GOT_TLS_IE) in elf_i386_tls_transition()
1565 int tls_type, old_tls_type; in elf_i386_check_relocs() local
1570 case R_386_GOT32: tls_type = GOT_NORMAL; break; in elf_i386_check_relocs()
[all …]
Delf32-s390.c662 unsigned char tls_type; member
788 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
915 edir->tls_type = eind->tls_type; in elf_s390_copy_indirect_symbol()
916 eind->tls_type = GOT_UNKNOWN; in elf_s390_copy_indirect_symbol()
978 int tls_type, old_tls_type; in elf_s390_check_relocs() local
1199 tls_type = GOT_NORMAL; in elf_s390_check_relocs()
1202 tls_type = GOT_TLS_GD; in elf_s390_check_relocs()
1206 tls_type = GOT_TLS_IE; in elf_s390_check_relocs()
1211 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs()
1218 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs()
[all …]
Delf64-s390.c575 unsigned char tls_type; member
700 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
834 edir->tls_type = eind->tls_type; in elf_s390_copy_indirect_symbol()
835 eind->tls_type = GOT_UNKNOWN; in elf_s390_copy_indirect_symbol()
897 int tls_type, old_tls_type; in elf_s390_check_relocs() local
1132 tls_type = GOT_NORMAL; in elf_s390_check_relocs()
1135 tls_type = GOT_TLS_GD; in elf_s390_check_relocs()
1139 tls_type = GOT_TLS_IE; in elf_s390_check_relocs()
1144 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs()
1151 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs()
[all …]
Delf32-tilepro.c715 unsigned char tls_type; member
1196 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
1367 edir->tls_type = eind->tls_type; in tilepro_elf_copy_indirect_symbol()
1368 eind->tls_type = GOT_UNKNOWN; in tilepro_elf_copy_indirect_symbol()
1504 int tls_type; in tilepro_elf_check_relocs() local
1554 tls_type = GOT_TLS_GD; in tilepro_elf_check_relocs()
1565 tls_type = GOT_TLS_IE; in tilepro_elf_check_relocs()
1578 tls_type = GOT_NORMAL; in tilepro_elf_check_relocs()
1589 old_tls_type = tilepro_elf_hash_entry(h)->tls_type; in tilepro_elf_check_relocs()
1618 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilepro_elf_check_relocs()
[all …]
Delfxx-tilegx.c815 unsigned char tls_type; member
1372 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
1572 edir->tls_type = eind->tls_type; in tilegx_elf_copy_indirect_symbol()
1573 eind->tls_type = GOT_UNKNOWN; in tilegx_elf_copy_indirect_symbol()
1721 int tls_type; in tilegx_elf_check_relocs() local
1768 tls_type = GOT_TLS_GD; in tilegx_elf_check_relocs()
1777 tls_type = GOT_TLS_IE; in tilegx_elf_check_relocs()
1788 tls_type = GOT_NORMAL; in tilegx_elf_check_relocs()
1799 old_tls_type = tilegx_elf_hash_entry(h)->tls_type; in tilegx_elf_check_relocs()
1827 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilegx_elf_check_relocs()
[all …]
Delf64-x86-64.c758 unsigned char tls_type; member
894 eh->tls_type = GOT_UNKNOWN; in elf_x86_64_link_hash_newfunc()
1128 edir->tls_type = eind->tls_type; in elf_x86_64_copy_indirect_symbol()
1129 eind->tls_type = GOT_UNKNOWN; in elf_x86_64_copy_indirect_symbol()
1385 unsigned int *r_type, int tls_type, in elf_x86_64_tls_transition() argument
1425 && tls_type == GOT_TLS_IE) in elf_x86_64_tls_transition()
1432 if (tls_type == GOT_TLS_IE) in elf_x86_64_tls_transition()
1741 int tls_type, old_tls_type; in elf_x86_64_check_relocs() local
1745 default: tls_type = GOT_NORMAL; break; in elf_x86_64_check_relocs()
1746 case R_X86_64_TLSGD: tls_type = GOT_TLS_GD; break; in elf_x86_64_check_relocs()
[all …]
Delfxx-sparc.c700 unsigned char tls_type; member
1021 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
1318 edir->tls_type = eind->tls_type; in _bfd_sparc_elf_copy_indirect_symbol()
1319 eind->tls_type = GOT_UNKNOWN; in _bfd_sparc_elf_copy_indirect_symbol()
1525 int tls_type, old_tls_type; in _bfd_sparc_elf_check_relocs() local
1535 tls_type = GOT_NORMAL; in _bfd_sparc_elf_check_relocs()
1539 tls_type = GOT_TLS_GD; in _bfd_sparc_elf_check_relocs()
1543 tls_type = GOT_TLS_IE; in _bfd_sparc_elf_check_relocs()
1550 old_tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; in _bfd_sparc_elf_check_relocs()
1587 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in _bfd_sparc_elf_check_relocs()
[all …]
Delf32-metag.c810 } tls_type; member
1014 hh->tls_type = GOT_UNKNOWN; in metag_link_hash_newfunc()
1784 char tls_type; in elf_metag_relocate_section() local
1802 tls_type = hh->tls_type; in elf_metag_relocate_section()
1811 tls_type = metag_elf_local_got_tls_type (input_bfd) [r_symndx]; in elf_metag_relocate_section()
1814 if (tls_type == GOT_UNKNOWN) in elf_metag_relocate_section()
1841 if (tls_type & GOT_TLS_GD) in elf_metag_relocate_section()
1881 if (tls_type & GOT_TLS_IE) in elf_metag_relocate_section()
2105 int tls_type = GOT_UNKNOWN, old_tls_type = GOT_UNKNOWN; in elf_metag_check_relocs() local
2191 tls_type = GOT_NORMAL; in elf_metag_check_relocs()
[all …]
Delf32-or1k.c595 unsigned char tls_type; member
671 eh->tls_type = TLS_UNKNOWN; in or1k_elf_link_hash_newfunc()
1435 unsigned char tls_type; in or1k_elf_check_relocs() local
1456 tls_type = TLS_GD; in or1k_elf_check_relocs()
1462 tls_type = TLS_LD; in or1k_elf_check_relocs()
1466 tls_type = TLS_IE; in or1k_elf_check_relocs()
1470 tls_type = TLS_LE; in or1k_elf_check_relocs()
1473 tls_type = TLS_NONE; in or1k_elf_check_relocs()
1478 ((struct elf_or1k_link_hash_entry *) h)->tls_type = tls_type; in or1k_elf_check_relocs()
1495 local_tls_type[r_symndx] = tls_type; in or1k_elf_check_relocs()
[all …]
Delf32-nios2.c895 unsigned char tls_type; member
1193 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
3243 char tls_type; in nios2_elf32_relocate_section() local
3261 tls_type = (((struct elf32_nios2_link_hash_entry *) h) in nios2_elf32_relocate_section()
3262 ->tls_type); in nios2_elf32_relocate_section()
3269 tls_type = (elf32_nios2_local_got_tls_type (input_bfd) in nios2_elf32_relocate_section()
3273 if (tls_type == GOT_UNKNOWN) in nios2_elf32_relocate_section()
3302 if (tls_type & GOT_TLS_GD) in nios2_elf32_relocate_section()
3354 if (tls_type & GOT_TLS_IE) in nios2_elf32_relocate_section()
3387 if ((tls_type & GOT_TLS_GD) && r_type != R_NIOS2_TLS_GD16) in nios2_elf32_relocate_section()
[all …]
Delf32-microblaze.c914 unsigned int tls_type; in microblaze_elf_relocate_section() local
946 tls_type = 0; in microblaze_elf_relocate_section()
1183 tls_type = (TLS_TLS | TLS_GD); in microblaze_elf_relocate_section()
1186 tls_type = (TLS_TLS | TLS_LD); in microblaze_elf_relocate_section()
1208 if (IS_TLS_LD (tls_type)) in microblaze_elf_relocate_section()
1230 if (IS_TLS_LD(tls_type) || IS_TLS_GD(tls_type)) in microblaze_elf_relocate_section()
1264 if (IS_TLS_LD(tls_type)) in microblaze_elf_relocate_section()
1278 else if (IS_TLS_GD(tls_type)) in microblaze_elf_relocate_section()
1301 if (IS_TLS_LD(tls_type)) in microblaze_elf_relocate_section()
1307 else if (IS_TLS_GD(tls_type)) in microblaze_elf_relocate_section()
[all …]
Delf64-ppc.c2744 unsigned char tls_type; member
4706 && dent->tls_type == ent->tls_type) in ppc64_elf_copy_indirect_symbol()
5106 unsigned long r_symndx, bfd_vma r_addend, int tls_type) in update_local_sym_info() argument
5125 if ((tls_type & (PLT_IFUNC | TLS_EXPLICIT)) == 0) in update_local_sym_info()
5132 && ent->tls_type == tls_type) in update_local_sym_info()
5143 ent->tls_type = tls_type; in update_local_sym_info()
5153 local_got_tls_masks[r_symndx] |= tls_type; in update_local_sym_info()
5247 int tls_type; in ppc64_elf_check_relocs() local
5267 tls_type = 0; in ppc64_elf_check_relocs()
5326 tls_type = TLS_TLS | TLS_LD; in ppc64_elf_check_relocs()
[all …]
Delf-m10300.c78 unsigned char tls_type; member
824 && elf_mn10300_hash_entry (h)->tls_type == GOT_TLS_IE) in elf_mn10300_tls_transition()
1075 int tls_type = GOT_NORMAL; in mn10300_elf_check_relocs() local
1142 tls_type = GOT_TLS_LD; in mn10300_elf_check_relocs()
1164 case R_MN10300_TLS_GOTIE: tls_type = GOT_TLS_IE; break; in mn10300_elf_check_relocs()
1165 case R_MN10300_TLS_GD: tls_type = GOT_TLS_GD; break; in mn10300_elf_check_relocs()
1166 default: tls_type = GOT_NORMAL; break; in mn10300_elf_check_relocs()
1200 if (elf_mn10300_hash_entry (h)->tls_type != tls_type in mn10300_elf_check_relocs()
1201 && elf_mn10300_hash_entry (h)->tls_type != GOT_UNKNOWN) in mn10300_elf_check_relocs()
1203 if (tls_type == GOT_TLS_IE in mn10300_elf_check_relocs()
[all …]
Delf32-xtensa.c551 unsigned char tls_type; member
642 eh->tls_type = GOT_UNKNOWN; in elf_xtensa_link_hash_newfunc()
678 ret->tlsbase->tls_type = GOT_UNKNOWN; in elf_xtensa_link_hash_table_create()
702 edir->tls_type = eind->tls_type; in elf_xtensa_copy_indirect_symbol()
703 eind->tls_type = GOT_UNKNOWN; in elf_xtensa_copy_indirect_symbol()
988 int tls_type, old_tls_type; in elf_xtensa_check_relocs() local
1021 tls_type = GOT_TLS_GD; in elf_xtensa_check_relocs()
1026 tls_type = GOT_TLS_IE; in elf_xtensa_check_relocs()
1032 tls_type = GOT_TLS_GD; in elf_xtensa_check_relocs()
1037 tls_type = GOT_TLS_IE; in elf_xtensa_check_relocs()
[all …]
Delf32-arm.c2872 unsigned int tls_type : 8; member
3097 ret->tls_type = GOT_UNKNOWN; in elf32_arm_link_hash_newfunc()
3520 edir->tls_type = eind->tls_type; in elf32_arm_copy_indirect_symbol()
3521 eind->tls_type = GOT_UNKNOWN; in elf32_arm_copy_indirect_symbol()
5150 && ((hash ? hash->tls_type in elf32_arm_size_stubs()
9538 char tls_type; in elf32_arm_final_link_relocate() local
9555 tls_type = ((struct elf32_arm_link_hash_entry *) h)->tls_type; in elf32_arm_final_link_relocate()
9562 tls_type = elf32_arm_local_got_tls_type (input_bfd)[r_symndx]; in elf32_arm_final_link_relocate()
9568 tls_type = GOT_TLS_IE; in elf32_arm_final_link_relocate()
9570 BFD_ASSERT (tls_type != GOT_UNKNOWN); in elf32_arm_final_link_relocate()
[all …]
Delf32-ppc.c3756 int tls_type) in update_local_sym_info() argument
3777 local_got_tls_masks[r_symndx] |= tls_type; in update_local_sym_info()
3778 if (tls_type != PLT_IFUNC) in update_local_sym_info()
3910 int tls_type; in ppc_elf_check_relocs() local
3941 tls_type = 0; in ppc_elf_check_relocs()
4007 tls_type = TLS_TLS | TLS_LD; in ppc_elf_check_relocs()
4014 tls_type = TLS_TLS | TLS_GD; in ppc_elf_check_relocs()
4023 tls_type = TLS_TLS | TLS_TPREL; in ppc_elf_check_relocs()
4030 tls_type = TLS_TLS | TLS_DTPREL; in ppc_elf_check_relocs()
4051 ppc_elf_hash_entry (h)->tls_mask |= tls_type; in ppc_elf_check_relocs()
[all …]
Delfxx-mips.c97 unsigned char tls_type; member
3025 + ((entry->tls_type == GOT_TLS_LDM) << 18) in mips_elf_got_entry_hash()
3026 + (entry->tls_type == GOT_TLS_LDM ? 0 in mips_elf_got_entry_hash()
3040 && e1->tls_type == e2->tls_type in mips_elf_got_entry_eq()
3041 && (e1->tls_type == GOT_TLS_LDM ? TRUE in mips_elf_got_entry_eq()
3228 mips_tls_got_relocs (struct bfd_link_info *info, unsigned char tls_type, in mips_tls_got_relocs() argument
3248 switch (tls_type) in mips_tls_got_relocs()
3272 if (entry->tls_type) in mips_elf_count_got_entry()
3274 g->tls_gotno += mips_tls_got_entries (entry->tls_type); in mips_elf_count_got_entry()
3275 g->relocs += mips_tls_got_relocs (info, entry->tls_type, in mips_elf_count_got_entry()
[all …]
Delf32-nds32.c283 unsigned int tls_type; member
3345 eh->tls_type = GOT_UNKNOWN; in nds32_elf_link_hash_newfunc()
3836 int tls_type = elf32_nds32_hash_entry (h)->tls_type; in allocate_dynrelocs() local
3849 if (tls_type == GOT_UNKNOWN) in allocate_dynrelocs()
3851 else if (tls_type == GOT_NORMAL in allocate_dynrelocs()
3852 || tls_type == GOT_TLS_IE) in allocate_dynrelocs()
5213 unsigned int tls_type; in nds32_elf_relocate_section() local
5228 tls_type = ((struct elf_nds32_link_hash_entry *) h)->tls_type; in nds32_elf_relocate_section()
5242 tls_type = elf32_nds32_local_got_tls_type (input_bfd)[r_symndx]; in nds32_elf_relocate_section()
5266 if (tls_type & GOT_TLS_IE) in nds32_elf_relocate_section()
[all …]
DChangeLog-20132562 * elfxx-mips.c (mips_got_entry): Update comment above tls_type entry
2565 (mips_elf_link_hash_entry): Temporarily split tls_type and
2569 (mips_elf_multi_got_entry_eq): Require the tls_type to be the same.
2579 (mips_elf_local_got_index): Use entry->tls_type to check for
2583 Use p->tls_type to check for TLS entries. Update call to
2586 Use entry.tls_type to check for TLS entries.
DChangeLog-02032146 (struct got_entry): Add "owner". Move "tls_type".
4454 * elf64-ppc.c: Rename assorted occurrences of tls_type and similar
4479 attempt to adjust got entry tls_type here..
4480 (allocate_dynrelocs): ..instead, adjust got entry tls_type here, and
4539 (struct ppc_link_hash_entry): Add "tls_type".
4784 (elf_s390_link_hash_entry): Add tls_type.
4788 (link_hash_newfunc): Initialize tls_type.
4790 (elf_s390_copy_indirect_symbol): Copy tls_type information.
6209 (elf_sh_link_hash_entry): Add tls_type and tls_tpoff32.
6408 (struct elf64_x86_64_link_hash_entry): Add tls_type field.
[all …]
DChangeLog-20061491 change subl into addl whenever tls_type is GOT_TLS_IE_POS.
1977 (elf32_hppa_link_hash_entry): Add tls_type.
1979 (hppa_link_has_newfunc): Set tls_type.
2442 * elf32-i386.c (GOT_TLS_MASK): New macro for tls_type.
2450 are set, treat tls_type as GOT_TLS_IE_BOTH.
DChangeLog-20053512 For TLS relocs, record the tls_type in either
3811 (elf32_arm_link_hash_newfunc): Initialize tls_type.
3812 (elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type.
4231 * elfxx-mips.c (struct mips_got_entry): Add tls_type.
4237 (struct mips_elf_link_hash_entry): Add tls_type and tls_got_offset.
4243 (mips_elf_link_hash_newfunc): Initialize tls_type.
4283 (_bfd_mips_elf_copy_indirect_symbol): Copy tls_type.
DChangeLog-20101984 (struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to
2979 * elf64-ppc.c (struct got_entry): Make tls_type and is_indirect
/toolchain/binutils/binutils-2.25/gold/
Dpowerpc.cc5472 const tls::Tls_optimization tls_type = target->optimize_tls_gd(true); in local() local
5473 if (tls_type != tls::TLSOPT_NONE) in local()
5480 const tls::Tls_optimization tls_type = target->optimize_tls_ld(); in local() local
5481 if (tls_type != tls::TLSOPT_NONE) in local()
5711 const tls::Tls_optimization tls_type = target->optimize_tls_gd(true); in local() local
5712 if (tls_type == tls::TLSOPT_NONE) in local()
5721 else if (tls_type == tls::TLSOPT_TO_LE) in local()
5735 const tls::Tls_optimization tls_type = target->optimize_tls_ld(); in local() local
5736 if (tls_type == tls::TLSOPT_NONE) in local()
5738 else if (tls_type == tls::TLSOPT_TO_LE) in local()
[all …]
Dmips.cc403 Mips_address addend, unsigned char tls_type, in Mips_got_entry() argument
405 : object_(object), symndx_(symndx), tls_type_(tls_type), shndx_(shndx) in Mips_got_entry()
409 unsigned char tls_type) in Mips_got_entry() argument
410 : object_(object), symndx_(-1U), tls_type_(tls_type), shndx_(-1U) in Mips_got_entry()
496 tls_type() const in tls_type() function in __anona7e08b770111::Mips_got_entry
4788 unsigned char tls_type = mips_elf_reloc_tls_type(r_type); in record_global_got_symbol() local
4789 if (tls_type == GOT_TLS_NONE) in record_global_got_symbol()
4800 new Mips_got_entry<size, big_endian>(object, mips_sym, tls_type); in record_global_got_symbol()
5126 if (entry->tls_type() == GOT_TLS_GD) in add_tls_entries()
5157 else if (entry->tls_type() == GOT_TLS_IE) in add_tls_entries()
[all …]

12