Home
last modified time | relevance | path

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

/mirbsd/src/gnu/usr.bin/binutils/bfd/
Delf32-i386.c562 unsigned char tls_type; member
657 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
821 edir->tls_type = eind->tls_type; in elf_i386_copy_indirect_symbol()
822 eind->tls_type = GOT_UNKNOWN; in elf_i386_copy_indirect_symbol()
957 int tls_type, old_tls_type; in elf_i386_check_relocs() local
962 case R_386_GOT32: tls_type = GOT_NORMAL; break; in elf_i386_check_relocs()
963 case R_386_TLS_GD: tls_type = GOT_TLS_GD; break; in elf_i386_check_relocs()
966 tls_type = GOT_TLS_IE_NEG; in elf_i386_check_relocs()
970 tls_type = GOT_TLS_IE; in elf_i386_check_relocs()
974 tls_type = GOT_TLS_IE_POS; break; in elf_i386_check_relocs()
[all …]
Delf64-s390.c613 unsigned char tls_type; member
708 eh->tls_type = GOT_UNKNOWN;
857 edir->tls_type = eind->tls_type;
858 eind->tls_type = GOT_UNKNOWN;
922 int tls_type, old_tls_type; local
1103 tls_type = GOT_NORMAL;
1106 tls_type = GOT_TLS_GD;
1110 tls_type = GOT_TLS_IE;
1115 tls_type = GOT_TLS_IE_NLT;
1122 old_tls_type = elf_s390_hash_entry(h)->tls_type;
[all …]
Delf32-s390.c660 unsigned char tls_type; member
755 eh->tls_type = GOT_UNKNOWN;
904 edir->tls_type = eind->tls_type;
905 eind->tls_type = GOT_UNKNOWN;
969 int tls_type, old_tls_type; local
1141 tls_type = GOT_NORMAL;
1144 tls_type = GOT_TLS_GD;
1148 tls_type = GOT_TLS_IE;
1153 tls_type = GOT_TLS_IE_NLT;
1160 old_tls_type = elf_s390_hash_entry(h)->tls_type;
[all …]
Delf64-x86-64.c349 unsigned char tls_type; member
423 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
567 edir->tls_type = eind->tls_type; in elf64_x86_64_copy_indirect_symbol()
568 eind->tls_type = GOT_UNKNOWN; in elf64_x86_64_copy_indirect_symbol()
707 int tls_type, old_tls_type; in elf64_x86_64_check_relocs() local
711 default: tls_type = GOT_NORMAL; break; in elf64_x86_64_check_relocs()
712 case R_X86_64_TLSGD: tls_type = GOT_TLS_GD; break; in elf64_x86_64_check_relocs()
713 case R_X86_64_GOTTPOFF: tls_type = GOT_TLS_IE; break; in elf64_x86_64_check_relocs()
719 old_tls_type = elf64_x86_64_hash_entry (h)->tls_type; in elf64_x86_64_check_relocs()
748 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in elf64_x86_64_check_relocs()
[all …]
Delfxx-sparc.c463 unsigned char tls_type; member
754 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc()
930 edir->tls_type = eind->tls_type; in _bfd_sparc_elf_copy_indirect_symbol()
931 eind->tls_type = GOT_UNKNOWN; in _bfd_sparc_elf_copy_indirect_symbol()
1087 int tls_type, old_tls_type; in _bfd_sparc_elf_check_relocs() local
1095 tls_type = GOT_NORMAL; in _bfd_sparc_elf_check_relocs()
1099 tls_type = GOT_TLS_GD; in _bfd_sparc_elf_check_relocs()
1103 tls_type = GOT_TLS_IE; in _bfd_sparc_elf_check_relocs()
1110 old_tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; in _bfd_sparc_elf_check_relocs()
1138 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in _bfd_sparc_elf_check_relocs()
[all …]
Delfxx-mips.c73 unsigned char tls_type; member
255 unsigned char tls_type; member
719 ret->tls_type = GOT_NORMAL; in mips_elf_link_hash_newfunc()
1835 + ((entry->tls_type & GOT_TLS_LDM) << 17) in mips_elf_got_entry_hash()
1849 if ((e1->tls_type ^ e2->tls_type) & GOT_TLS_LDM) in mips_elf_got_entry_eq()
1872 ? ((entry->tls_type & GOT_TLS_LDM) in mips_elf_multi_got_entry_hash()
1886 if (e1->tls_type & e2->tls_type & GOT_TLS_LDM) in mips_elf_multi_got_entry_eq()
1890 if ((e1->tls_type ^ e2->tls_type) & GOT_TLS_LDM) in mips_elf_multi_got_entry_eq()
1965 mips_tls_got_relocs (struct bfd_link_info *info, unsigned char tls_type, in mips_tls_got_relocs() argument
1986 if (tls_type & GOT_TLS_GD) in mips_tls_got_relocs()
[all …]
Delf64-ppc.c3074 char tls_type; member
3922 && dent->tls_type == ent->tls_type) in ppc64_elf_copy_indirect_symbol()
4195 unsigned long r_symndx, bfd_vma r_addend, int tls_type) in update_local_sym_info() argument
4211 if ((tls_type & TLS_EXPLICIT) == 0) in update_local_sym_info()
4218 && ent->tls_type == tls_type) in update_local_sym_info()
4229 ent->tls_type = tls_type; in update_local_sym_info()
4237 local_got_tls_masks[r_symndx] |= tls_type; in update_local_sym_info()
4340 int tls_type = 0; in ppc64_elf_check_relocs() local
4361 tls_type = TLS_TLS | TLS_LD; in ppc64_elf_check_relocs()
4368 tls_type = TLS_TLS | TLS_GD; in ppc64_elf_check_relocs()
[all …]
Delf32-arm.c1598 unsigned char tls_type; member
1701 ret->tls_type = GOT_UNKNOWN; in elf32_arm_link_hash_newfunc()
1833 edir->tls_type = eind->tls_type; in elf32_arm_copy_indirect_symbol()
1834 eind->tls_type = GOT_UNKNOWN; in elf32_arm_copy_indirect_symbol()
3732 char tls_type; in elf32_arm_final_link_relocate() local
3750 tls_type = ((struct elf32_arm_link_hash_entry *) h)->tls_type; in elf32_arm_final_link_relocate()
3757 tls_type = elf32_arm_local_got_tls_type (input_bfd)[r_symndx]; in elf32_arm_final_link_relocate()
3760 if (tls_type == GOT_UNKNOWN) in elf32_arm_final_link_relocate()
3788 if (tls_type & GOT_TLS_GD) in elf32_arm_final_link_relocate()
3833 if (tls_type & GOT_TLS_IE) in elf32_arm_final_link_relocate()
[all …]
Delf32-sh.c3496 } tls_type; member
3597 ret->tls_type = GOT_UNKNOWN; in sh_elf_link_hash_newfunc()
4068 int tls_type = sh_elf_hash_entry (h)->tls_type; in allocate_dynrelocs() local
4083 if (tls_type == GOT_TLS_GD) in allocate_dynrelocs()
4088 if ((tls_type == GOT_TLS_GD && h->dynindx == -1) in allocate_dynrelocs()
4089 || (tls_type == GOT_TLS_IE && dyn)) in allocate_dynrelocs()
4091 else if (tls_type == GOT_TLS_GD) in allocate_dynrelocs()
4501 int tls_type; in sh_elf_relocate_section() local
4700 && (sh_elf_hash_entry (h)->tls_type == GOT_TLS_IE in sh_elf_relocate_section()
4701 || sh_elf_hash_entry (h)->tls_type == GOT_TLS_GD))) in sh_elf_relocate_section()
[all …]
Delf32-ppc.c2870 int tls_type) in update_local_sym_info() argument
2888 local_got_tls_masks[r_symndx] |= tls_type; in update_local_sym_info()
2992 int tls_type = 0; in ppc_elf_check_relocs() local
3027 tls_type = TLS_TLS | TLS_LD; in ppc_elf_check_relocs()
3034 tls_type = TLS_TLS | TLS_GD; in ppc_elf_check_relocs()
3043 tls_type = TLS_TLS | TLS_TPREL; in ppc_elf_check_relocs()
3050 tls_type = TLS_TLS | TLS_DTPREL; in ppc_elf_check_relocs()
3071 ppc_elf_hash_entry (h)->tls_mask |= tls_type; in ppc_elf_check_relocs()
3075 if (!update_local_sym_info (abfd, symtab_hdr, r_symndx, tls_type)) in ppc_elf_check_relocs()
5491 unsigned int tls_type, tls_mask, tls_gd; in ppc_elf_relocate_section() local
[all …]