Home
last modified time | relevance | path

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

12

/toolchain/binutils/binutils-2.27/bfd/
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
1201 tls_type = GOT_NORMAL; in elf_s390_check_relocs()
1204 tls_type = GOT_TLS_GD; in elf_s390_check_relocs()
1208 tls_type = GOT_TLS_IE; in elf_s390_check_relocs()
1213 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs()
1220 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
1134 tls_type = GOT_NORMAL; in elf_s390_check_relocs()
1137 tls_type = GOT_TLS_GD; in elf_s390_check_relocs()
1141 tls_type = GOT_TLS_IE; in elf_s390_check_relocs()
1146 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs()
1153 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs()
[all …]
Delf32-i386.c779 unsigned char tls_type; member
926 eh->tls_type = GOT_UNKNOWN; in elf_i386_link_hash_newfunc()
1177 edir->tls_type = eind->tls_type; in elf_i386_copy_indirect_symbol()
1178 eind->tls_type = GOT_UNKNOWN; in elf_i386_copy_indirect_symbol()
1449 unsigned int *r_type, int tls_type, in elf_i386_tls_transition() argument
1492 && (tls_type & GOT_TLS_IE)) in elf_i386_tls_transition()
1499 if (tls_type == GOT_TLS_IE_POS) in elf_i386_tls_transition()
1501 else if (tls_type & GOT_TLS_IE) in elf_i386_tls_transition()
2023 int tls_type, old_tls_type; in elf_i386_check_relocs() local
2030 tls_type = GOT_NORMAL; in elf_i386_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 …]
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
1018 hh->tls_type = GOT_UNKNOWN; in metag_link_hash_newfunc()
1789 char tls_type; in elf_metag_relocate_section() local
1809 tls_type = hh->tls_type; in elf_metag_relocate_section()
1818 tls_type = metag_elf_local_got_tls_type (input_bfd) [r_symndx]; in elf_metag_relocate_section()
1821 if (tls_type == GOT_UNKNOWN) in elf_metag_relocate_section()
1848 if (tls_type & GOT_TLS_GD) in elf_metag_relocate_section()
1888 if (tls_type & GOT_TLS_IE) in elf_metag_relocate_section()
2108 int tls_type = GOT_UNKNOWN, old_tls_type = GOT_UNKNOWN; in elf_metag_check_relocs() local
2194 tls_type = GOT_NORMAL; in elf_metag_check_relocs()
[all …]
Delf64-x86-64.c781 unsigned char tls_type; member
949 eh->tls_type = GOT_UNKNOWN; in elf_x86_64_link_hash_newfunc()
1223 edir->tls_type = eind->tls_type; in elf_x86_64_copy_indirect_symbol()
1224 eind->tls_type = GOT_UNKNOWN; in elf_x86_64_copy_indirect_symbol()
1541 unsigned int *r_type, int tls_type, in elf_x86_64_tls_transition() argument
1581 && tls_type == GOT_TLS_IE) in elf_x86_64_tls_transition()
1588 if (tls_type == GOT_TLS_IE) in elf_x86_64_tls_transition()
2383 int tls_type, old_tls_type; in elf_x86_64_check_relocs() local
2387 default: tls_type = GOT_NORMAL; break; in elf_x86_64_check_relocs()
2388 case R_X86_64_TLSGD: tls_type = GOT_TLS_GD; break; in elf_x86_64_check_relocs()
[all …]
Delf32-or1k.c595 unsigned char tls_type; member
671 eh->tls_type = TLS_UNKNOWN; in or1k_elf_link_hash_newfunc()
1438 unsigned char tls_type; in or1k_elf_check_relocs() local
1459 tls_type = TLS_GD; in or1k_elf_check_relocs()
1465 tls_type = TLS_LD; in or1k_elf_check_relocs()
1469 tls_type = TLS_IE; in or1k_elf_check_relocs()
1473 tls_type = TLS_LE; in or1k_elf_check_relocs()
1476 tls_type = TLS_NONE; in or1k_elf_check_relocs()
1481 ((struct elf_or1k_link_hash_entry *) h)->tls_type = tls_type; in or1k_elf_check_relocs()
1498 local_tls_type[r_symndx] = tls_type; in or1k_elf_check_relocs()
[all …]
Delf32-hppa.c239 } tls_type; member
404 hh->tls_type = GOT_UNKNOWN; in hppa_link_hash_newfunc()
1085 hh_dir->tls_type = hh_ind->tls_type; in elf32_hppa_copy_indirect_symbol()
1086 hh_ind->tls_type = GOT_UNKNOWN; in elf32_hppa_copy_indirect_symbol()
1150 int tls_type = GOT_UNKNOWN, old_tls_type = GOT_UNKNOWN; in elf32_hppa_check_relocs() local
1342 tls_type = GOT_NORMAL; in elf32_hppa_check_relocs()
1346 tls_type |= GOT_TLS_GD; in elf32_hppa_check_relocs()
1350 tls_type |= GOT_TLS_LDM; in elf32_hppa_check_relocs()
1354 tls_type |= GOT_TLS_IE; in elf32_hppa_check_relocs()
1374 old_tls_type = hh->tls_type; in elf32_hppa_check_relocs()
[all …]
Delf32-nios2.c1766 unsigned char tls_type; member
2064 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
4209 char tls_type; in nios2_elf32_relocate_section() local
4229 tls_type = (((struct elf32_nios2_link_hash_entry *) h) in nios2_elf32_relocate_section()
4230 ->tls_type); in nios2_elf32_relocate_section()
4237 tls_type = (elf32_nios2_local_got_tls_type (input_bfd) in nios2_elf32_relocate_section()
4241 if (tls_type == GOT_UNKNOWN) in nios2_elf32_relocate_section()
4270 if (tls_type & GOT_TLS_GD) in nios2_elf32_relocate_section()
4322 if (tls_type & GOT_TLS_IE) in nios2_elf32_relocate_section()
4355 if ((tls_type & GOT_TLS_GD) && r_type != R_NIOS2_TLS_GD16) in nios2_elf32_relocate_section()
[all …]
Delf32-microblaze.c923 unsigned int tls_type; in microblaze_elf_relocate_section() local
955 tls_type = 0; in microblaze_elf_relocate_section()
1192 tls_type = (TLS_TLS | TLS_GD); in microblaze_elf_relocate_section()
1195 tls_type = (TLS_TLS | TLS_LD); in microblaze_elf_relocate_section()
1217 if (IS_TLS_LD (tls_type)) in microblaze_elf_relocate_section()
1239 if (IS_TLS_LD(tls_type) || IS_TLS_GD(tls_type)) in microblaze_elf_relocate_section()
1276 if (IS_TLS_LD(tls_type)) in microblaze_elf_relocate_section()
1290 else if (IS_TLS_GD(tls_type)) in microblaze_elf_relocate_section()
1313 if (IS_TLS_LD(tls_type)) in microblaze_elf_relocate_section()
1319 else if (IS_TLS_GD(tls_type)) in microblaze_elf_relocate_section()
[all …]
Delf64-ppc.c2810 unsigned char tls_type; member
4809 && dent->tls_type == ent->tls_type) in ppc64_elf_copy_indirect_symbol()
5216 unsigned long r_symndx, bfd_vma r_addend, int tls_type) in update_local_sym_info() argument
5235 if ((tls_type & (PLT_IFUNC | TLS_EXPLICIT)) == 0) in update_local_sym_info()
5242 && ent->tls_type == tls_type) in update_local_sym_info()
5253 ent->tls_type = tls_type; in update_local_sym_info()
5263 local_got_tls_masks[r_symndx] |= tls_type; in update_local_sym_info()
5357 int tls_type; in ppc64_elf_check_relocs() local
5377 tls_type = 0; in ppc64_elf_check_relocs()
5416 tls_type = TLS_TLS | TLS_LD; in ppc64_elf_check_relocs()
[all …]
Delf-m10300.c78 unsigned char tls_type; member
830 && elf_mn10300_hash_entry (h)->tls_type == GOT_TLS_IE) in elf_mn10300_tls_transition()
1081 int tls_type = GOT_NORMAL; in mn10300_elf_check_relocs() local
1148 tls_type = GOT_TLS_LD; in mn10300_elf_check_relocs()
1170 case R_MN10300_TLS_GOTIE: tls_type = GOT_TLS_IE; break; in mn10300_elf_check_relocs()
1171 case R_MN10300_TLS_GD: tls_type = GOT_TLS_GD; break; in mn10300_elf_check_relocs()
1172 default: tls_type = GOT_NORMAL; break; in mn10300_elf_check_relocs()
1206 if (elf_mn10300_hash_entry (h)->tls_type != tls_type in mn10300_elf_check_relocs()
1207 && elf_mn10300_hash_entry (h)->tls_type != GOT_UNKNOWN) in mn10300_elf_check_relocs()
1209 if (tls_type == GOT_TLS_IE in mn10300_elf_check_relocs()
[all …]
Delf32-xtensa.c559 unsigned char tls_type; member
650 eh->tls_type = GOT_UNKNOWN; in elf_xtensa_link_hash_newfunc()
686 ret->tlsbase->tls_type = GOT_UNKNOWN; in elf_xtensa_link_hash_table_create()
710 edir->tls_type = eind->tls_type; in elf_xtensa_copy_indirect_symbol()
711 eind->tls_type = GOT_UNKNOWN; in elf_xtensa_copy_indirect_symbol()
996 int tls_type, old_tls_type; in elf_xtensa_check_relocs() local
1029 tls_type = GOT_TLS_GD; in elf_xtensa_check_relocs()
1034 tls_type = GOT_TLS_IE; in elf_xtensa_check_relocs()
1040 tls_type = GOT_TLS_GD; in elf_xtensa_check_relocs()
1045 tls_type = GOT_TLS_IE; in elf_xtensa_check_relocs()
[all …]
Delf32-arm.c2980 unsigned int tls_type : 8; member
3253 ret->tls_type = GOT_UNKNOWN; in elf32_arm_link_hash_newfunc()
3703 edir->tls_type = eind->tls_type; in elf32_arm_copy_indirect_symbol()
3704 eind->tls_type = GOT_UNKNOWN; in elf32_arm_copy_indirect_symbol()
5592 && ((hash ? hash->tls_type in elf32_arm_size_stubs()
10500 char tls_type; in elf32_arm_final_link_relocate() local
10519 tls_type = ((struct elf32_arm_link_hash_entry *) h)->tls_type; in elf32_arm_final_link_relocate()
10526 tls_type = elf32_arm_local_got_tls_type (input_bfd)[r_symndx]; in elf32_arm_final_link_relocate()
10532 tls_type = GOT_TLS_IE; in elf32_arm_final_link_relocate()
10534 BFD_ASSERT (tls_type != GOT_UNKNOWN); in elf32_arm_final_link_relocate()
[all …]
Delf32-ppc.c3871 int tls_type) in update_local_sym_info() argument
3892 local_got_tls_masks[r_symndx] |= tls_type; in update_local_sym_info()
3893 if (tls_type != PLT_IFUNC) in update_local_sym_info()
4025 int tls_type; in ppc_elf_check_relocs() local
4057 tls_type = 0; in ppc_elf_check_relocs()
4122 tls_type = TLS_TLS | TLS_LD; in ppc_elf_check_relocs()
4129 tls_type = TLS_TLS | TLS_GD; in ppc_elf_check_relocs()
4138 tls_type = TLS_TLS | TLS_TPREL; in ppc_elf_check_relocs()
4145 tls_type = TLS_TLS | TLS_DTPREL; in ppc_elf_check_relocs()
4166 ppc_elf_hash_entry (h)->tls_mask |= tls_type; in ppc_elf_check_relocs()
[all …]
Delfxx-mips.c98 unsigned char tls_type; member
3031 + ((entry->tls_type == GOT_TLS_LDM) << 18) in mips_elf_got_entry_hash()
3032 + (entry->tls_type == GOT_TLS_LDM ? 0 in mips_elf_got_entry_hash()
3046 && e1->tls_type == e2->tls_type in mips_elf_got_entry_eq()
3047 && (e1->tls_type == GOT_TLS_LDM ? TRUE in mips_elf_got_entry_eq()
3234 mips_tls_got_relocs (struct bfd_link_info *info, unsigned char tls_type, in mips_tls_got_relocs() argument
3254 switch (tls_type) in mips_tls_got_relocs()
3278 if (entry->tls_type) in mips_elf_count_got_entry()
3280 g->tls_gotno += mips_tls_got_entries (entry->tls_type); in mips_elf_count_got_entry()
3281 g->relocs += mips_tls_got_relocs (info, entry->tls_type, in mips_elf_count_got_entry()
[all …]
Delf32-nds32.c284 unsigned int tls_type; member
3351 eh->tls_type = GOT_UNKNOWN; in nds32_elf_link_hash_newfunc()
3842 int tls_type = elf32_nds32_hash_entry (h)->tls_type; in allocate_dynrelocs() local
3855 if (tls_type == GOT_UNKNOWN) in allocate_dynrelocs()
3857 else if (tls_type == GOT_NORMAL in allocate_dynrelocs()
3858 || tls_type == GOT_TLS_IE) in allocate_dynrelocs()
5233 unsigned int tls_type; in nds32_elf_relocate_section() local
5248 tls_type = ((struct elf_nds32_link_hash_entry *) h)->tls_type; in nds32_elf_relocate_section()
5262 tls_type = elf32_nds32_local_got_tls_type (input_bfd)[r_symndx]; in nds32_elf_relocate_section()
5286 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.
/toolchain/binutils/binutils-2.27/gold/
Dpowerpc.cc5854 const tls::Tls_optimization tls_type = target->optimize_tls_gd(true); in local() local
5855 if (tls_type != tls::TLSOPT_NONE) in local()
5862 const tls::Tls_optimization tls_type = target->optimize_tls_ld(); in local() local
5863 if (tls_type != tls::TLSOPT_NONE) in local()
6097 const tls::Tls_optimization tls_type = target->optimize_tls_gd(true); in local() local
6098 if (tls_type == tls::TLSOPT_NONE) in local()
6107 else if (tls_type == tls::TLSOPT_TO_LE) in local()
6121 const tls::Tls_optimization tls_type = target->optimize_tls_ld(); in local() local
6122 if (tls_type == tls::TLSOPT_NONE) in local()
6124 else if (tls_type == tls::TLSOPT_TO_LE) in local()
[all …]
Dmips.cc441 Mips_address addend, unsigned char tls_type, in Mips_got_entry() argument
443 : addend_(addend), symndx_(symndx), tls_type_(tls_type), in Mips_got_entry()
447 Mips_got_entry(Mips_symbol<size>* sym, unsigned char tls_type) in Mips_got_entry() argument
448 : addend_(0), symndx_(-1U), tls_type_(tls_type), in Mips_got_entry()
528 tls_type() const in tls_type() function in __anon1e60feb90111::Mips_got_entry
5644 unsigned char tls_type = mips_elf_reloc_tls_type(r_type); in record_global_got_symbol() local
5645 if (tls_type == GOT_TLS_NONE) in record_global_got_symbol()
5656 new Mips_got_entry<size, big_endian>(mips_sym, tls_type); in record_global_got_symbol()
5987 if (entry->tls_type() == GOT_TLS_GD) in add_tls_entries()
6020 else if (entry->tls_type() == GOT_TLS_IE) in add_tls_entries()
[all …]

12