/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | elf32-or1k.c | 934 unsigned char tls_type; member 1011 eh->tls_type = TLS_UNKNOWN; in or1k_elf_link_hash_newfunc() 1701 unsigned char tls_type; in or1k_elf_relocate_section() local 1710 tls_type = ((struct elf_or1k_link_hash_entry *) h)->tls_type; in or1k_elf_relocate_section() 1719 tls_type = local_tls_type == NULL ? TLS_NONE in or1k_elf_relocate_section() 1727 gotoff += or1k_initial_exec_offset (howto, tls_type); in or1k_elf_relocate_section() 1762 if (dynamic && ((tls_type & TLS_GD) != 0)) in or1k_elf_relocate_section() 1795 else if ((tls_type & TLS_GD) != 0) in or1k_elf_relocate_section() 1802 gotoff += or1k_initial_exec_offset (howto, tls_type); in or1k_elf_relocate_section() 1805 if (dynamic && ((tls_type & TLS_IE) != 0)) in or1k_elf_relocate_section() [all …]
|
H A D | elf32-tilepro.c | 692 unsigned char tls_type; member 1168 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 1290 edir->tls_type = eind->tls_type; in tilepro_elf_copy_indirect_symbol() 1291 eind->tls_type = GOT_UNKNOWN; in tilepro_elf_copy_indirect_symbol() 1427 int tls_type; in tilepro_elf_check_relocs() local 1474 tls_type = GOT_TLS_GD; in tilepro_elf_check_relocs() 1485 tls_type = GOT_TLS_IE; in tilepro_elf_check_relocs() 1498 tls_type = GOT_NORMAL; in tilepro_elf_check_relocs() 1509 old_tls_type = tilepro_elf_hash_entry(h)->tls_type; in tilepro_elf_check_relocs() 1538 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilepro_elf_check_relocs() [all …]
|
H A D | elf64-s390.c | 582 unsigned char tls_type; member 705 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 751 edir->tls_type = eind->tls_type; in elf_s390_copy_indirect_symbol() 752 eind->tls_type = GOT_UNKNOWN; in elf_s390_copy_indirect_symbol() 815 int tls_type, old_tls_type; in elf_s390_check_relocs() local 1049 tls_type = GOT_NORMAL; in elf_s390_check_relocs() 1052 tls_type = GOT_TLS_GD; in elf_s390_check_relocs() 1056 tls_type = GOT_TLS_IE; in elf_s390_check_relocs() 1061 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs() 1068 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs() [all …]
|
H A D | elf32-s390.c | 665 unsigned char tls_type; member 786 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 832 edir->tls_type = eind->tls_type; in elf_s390_copy_indirect_symbol() 833 eind->tls_type = GOT_UNKNOWN; in elf_s390_copy_indirect_symbol() 896 int tls_type, old_tls_type; in elf_s390_check_relocs() local 1117 tls_type = GOT_NORMAL; in elf_s390_check_relocs() 1120 tls_type = GOT_TLS_GD; in elf_s390_check_relocs() 1124 tls_type = GOT_TLS_IE; in elf_s390_check_relocs() 1129 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs() 1136 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs() [all …]
|
H A D | elfxx-tilegx.c | 792 unsigned char tls_type; member 1354 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 1505 edir->tls_type = eind->tls_type; in tilegx_elf_copy_indirect_symbol() 1506 eind->tls_type = GOT_UNKNOWN; in tilegx_elf_copy_indirect_symbol() 1654 int tls_type; in tilegx_elf_check_relocs() local 1698 tls_type = GOT_TLS_GD; in tilegx_elf_check_relocs() 1707 tls_type = GOT_TLS_IE; in tilegx_elf_check_relocs() 1718 tls_type = GOT_NORMAL; in tilegx_elf_check_relocs() 1729 old_tls_type = tilegx_elf_hash_entry(h)->tls_type; in tilegx_elf_check_relocs() 1757 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilegx_elf_check_relocs() [all …]
|
H A D | elf32-i386.c | 1061 unsigned int *r_type, int tls_type, in elf_i386_tls_transition() argument 1101 if (TLS_TRANSITION_IE_TO_LE_P (info, h, tls_type)) in elf_i386_tls_transition() 1108 if (tls_type == GOT_TLS_IE_POS) in elf_i386_tls_transition() 1110 else if (tls_type & GOT_TLS_IE) in elf_i386_tls_transition() 1634 int tls_type, old_tls_type; in elf_i386_scan_relocs() local 1641 tls_type = GOT_NORMAL; in elf_i386_scan_relocs() 1643 case R_386_TLS_GD: tls_type = GOT_TLS_GD; break; in elf_i386_scan_relocs() 1646 tls_type = GOT_TLS_GDESC; break; in elf_i386_scan_relocs() 1649 tls_type = GOT_TLS_IE_NEG; in elf_i386_scan_relocs() 1653 tls_type = GOT_TLS_IE; in elf_i386_scan_relocs() [all …]
|
H A D | elf32-metag.c | 791 } tls_type; member 991 hh->tls_type = GOT_UNKNOWN; in metag_link_hash_newfunc() 1762 char tls_type; in elf_metag_relocate_section() local 1782 tls_type = hh->tls_type; in elf_metag_relocate_section() 1791 tls_type = metag_elf_local_got_tls_type (input_bfd) [r_symndx]; in elf_metag_relocate_section() 1794 if (tls_type == GOT_UNKNOWN) in elf_metag_relocate_section() 1821 if (tls_type & GOT_TLS_GD) in elf_metag_relocate_section() 1868 if (tls_type & GOT_TLS_IE) in elf_metag_relocate_section() 2072 int tls_type = GOT_UNKNOWN, old_tls_type = GOT_UNKNOWN; in elf_metag_check_relocs() local 2154 tls_type = GOT_NORMAL; in elf_metag_check_relocs() [all …]
|
H A D | elf32-hppa.c | 234 ENUM_BITFIELD (_tls_type) tls_type : 8; 388 hh->tls_type = GOT_UNKNOWN; in hppa_link_hash_newfunc() 1045 hh_dir->tls_type |= hh_ind->tls_type; in elf32_hppa_copy_indirect_symbol() 1046 hh_ind->tls_type = GOT_UNKNOWN; in elf32_hppa_copy_indirect_symbol() 1294 int tls_type = GOT_NORMAL; in elf32_hppa_check_relocs() local 1302 tls_type = GOT_TLS_GD; in elf32_hppa_check_relocs() 1306 tls_type = GOT_TLS_LDM; in elf32_hppa_check_relocs() 1310 tls_type = GOT_TLS_IE; in elf32_hppa_check_relocs() 1324 if (tls_type == GOT_TLS_LDM) in elf32_hppa_check_relocs() 1328 hh->tls_type |= tls_type; in elf32_hppa_check_relocs() [all …]
|
H A D | elfxx-sparc.c | 697 unsigned char tls_type; member 1028 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 1290 edir->tls_type = eind->tls_type; in _bfd_sparc_elf_copy_indirect_symbol() 1291 eind->tls_type = GOT_UNKNOWN; in _bfd_sparc_elf_copy_indirect_symbol() 1491 int tls_type, old_tls_type; in _bfd_sparc_elf_check_relocs() local 1497 tls_type = GOT_TLS_GD; in _bfd_sparc_elf_check_relocs() 1501 tls_type = GOT_TLS_IE; in _bfd_sparc_elf_check_relocs() 1504 tls_type = GOT_NORMAL; in _bfd_sparc_elf_check_relocs() 1511 old_tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; in _bfd_sparc_elf_check_relocs() 1544 if (old_tls_type != tls_type) in _bfd_sparc_elf_check_relocs() [all …]
|
H A D | elf32-csky.c | 1173 unsigned char tls_type; member 1429 eh->tls_type = GOT_NORMAL; in csky_elf_link_hash_newfunc() 1747 int tls_type = csky_elf_hash_entry (h)->tls_type; in csky_allocate_dynrelocs() local 1757 BFD_ASSERT (tls_type != GOT_UNKNOWN); in csky_allocate_dynrelocs() 1758 if (tls_type == GOT_NORMAL) in csky_allocate_dynrelocs() 1763 if (tls_type & GOT_TLS_GD) in csky_allocate_dynrelocs() 1766 if (tls_type & GOT_TLS_IE) in csky_allocate_dynrelocs() 1776 if (tls_type != GOT_NORMAL in csky_allocate_dynrelocs() 1782 if (tls_type & GOT_TLS_IE) in csky_allocate_dynrelocs() 1784 if (tls_type & GOT_TLS_GD) in csky_allocate_dynrelocs() [all …]
|
H A D | elf64-x86-64.c | 1263 unsigned int *r_type, int tls_type, in elf_x86_64_tls_transition() argument 1300 if (TLS_TRANSITION_IE_TO_LE_P (info, h, tls_type)) in elf_x86_64_tls_transition() 1307 if (tls_type == GOT_TLS_IE) in elf_x86_64_tls_transition() 2026 int tls_type, old_tls_type; in elf_x86_64_scan_relocs() local 2031 tls_type = GOT_NORMAL; in elf_x86_64_scan_relocs() 2035 tls_type = GOT_ABS; in elf_x86_64_scan_relocs() 2038 tls_type = GOT_ABS; in elf_x86_64_scan_relocs() 2041 tls_type = GOT_TLS_GD; in elf_x86_64_scan_relocs() 2044 tls_type = GOT_TLS_IE; in elf_x86_64_scan_relocs() 2048 tls_type = GOT_TLS_GDESC; in elf_x86_64_scan_relocs() [all …]
|
H A D | elf32-nios2.c | 1744 unsigned char tls_type; member 2036 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 4220 char tls_type; in nios2_elf32_relocate_section() local 4240 tls_type = (((struct elf32_nios2_link_hash_entry *) h) in nios2_elf32_relocate_section() 4241 ->tls_type); in nios2_elf32_relocate_section() 4248 tls_type = (elf32_nios2_local_got_tls_type (input_bfd) in nios2_elf32_relocate_section() 4252 if (tls_type == GOT_UNKNOWN) in nios2_elf32_relocate_section() 4282 if (tls_type & GOT_TLS_GD) in nios2_elf32_relocate_section() 4334 if (tls_type & GOT_TLS_IE) in nios2_elf32_relocate_section() 4367 if ((tls_type & GOT_TLS_GD) && r_type != R_NIOS2_TLS_GD16) in nios2_elf32_relocate_section() [all …]
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | elf32-or1k.c | 934 unsigned char tls_type; member 1011 eh->tls_type = TLS_UNKNOWN; in or1k_elf_link_hash_newfunc() 1709 unsigned char tls_type; in or1k_elf_relocate_section() local 1718 tls_type = ((struct elf_or1k_link_hash_entry *) h)->tls_type; in or1k_elf_relocate_section() 1727 tls_type = local_tls_type == NULL ? TLS_NONE in or1k_elf_relocate_section() 1735 gotoff += or1k_initial_exec_offset (howto, tls_type); in or1k_elf_relocate_section() 1770 if (dynamic && ((tls_type & TLS_GD) != 0)) in or1k_elf_relocate_section() 1803 else if ((tls_type & TLS_GD) != 0) in or1k_elf_relocate_section() 1810 gotoff += or1k_initial_exec_offset (howto, tls_type); in or1k_elf_relocate_section() 1813 if (dynamic && ((tls_type & TLS_IE) != 0)) in or1k_elf_relocate_section() [all …]
|
H A D | elf32-tilepro.c | 692 unsigned char tls_type; member 1168 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 1290 edir->tls_type = eind->tls_type; in tilepro_elf_copy_indirect_symbol() 1291 eind->tls_type = GOT_UNKNOWN; in tilepro_elf_copy_indirect_symbol() 1427 int tls_type; in tilepro_elf_check_relocs() local 1474 tls_type = GOT_TLS_GD; in tilepro_elf_check_relocs() 1485 tls_type = GOT_TLS_IE; in tilepro_elf_check_relocs() 1498 tls_type = GOT_NORMAL; in tilepro_elf_check_relocs() 1509 old_tls_type = tilepro_elf_hash_entry(h)->tls_type; in tilepro_elf_check_relocs() 1538 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilepro_elf_check_relocs() [all …]
|
H A D | elf32-s390.c | 665 unsigned char tls_type; member 786 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 832 edir->tls_type = eind->tls_type; in elf_s390_copy_indirect_symbol() 833 eind->tls_type = GOT_UNKNOWN; in elf_s390_copy_indirect_symbol() 896 int tls_type, old_tls_type; in elf_s390_check_relocs() local 1117 tls_type = GOT_NORMAL; in elf_s390_check_relocs() 1120 tls_type = GOT_TLS_GD; in elf_s390_check_relocs() 1124 tls_type = GOT_TLS_IE; in elf_s390_check_relocs() 1129 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs() 1136 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs() [all …]
|
H A D | elf64-s390.c | 582 unsigned char tls_type; member 705 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 751 edir->tls_type = eind->tls_type; in elf_s390_copy_indirect_symbol() 752 eind->tls_type = GOT_UNKNOWN; in elf_s390_copy_indirect_symbol() 815 int tls_type, old_tls_type; in elf_s390_check_relocs() local 1049 tls_type = GOT_NORMAL; in elf_s390_check_relocs() 1052 tls_type = GOT_TLS_GD; in elf_s390_check_relocs() 1056 tls_type = GOT_TLS_IE; in elf_s390_check_relocs() 1061 tls_type = GOT_TLS_IE_NLT; in elf_s390_check_relocs() 1068 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs() [all …]
|
H A D | elfxx-tilegx.c | 792 unsigned char tls_type; member 1354 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 1505 edir->tls_type = eind->tls_type; in tilegx_elf_copy_indirect_symbol() 1506 eind->tls_type = GOT_UNKNOWN; in tilegx_elf_copy_indirect_symbol() 1654 int tls_type; in tilegx_elf_check_relocs() local 1698 tls_type = GOT_TLS_GD; in tilegx_elf_check_relocs() 1707 tls_type = GOT_TLS_IE; in tilegx_elf_check_relocs() 1718 tls_type = GOT_NORMAL; in tilegx_elf_check_relocs() 1729 old_tls_type = tilegx_elf_hash_entry(h)->tls_type; in tilegx_elf_check_relocs() 1757 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilegx_elf_check_relocs() [all …]
|
H A D | elf32-i386.c | 1062 unsigned int *r_type, int tls_type, in elf_i386_tls_transition() argument 1115 if (TLS_TRANSITION_IE_TO_LE_P (info, h, tls_type)) in elf_i386_tls_transition() 1122 if (tls_type == GOT_TLS_IE_POS) in elf_i386_tls_transition() 1124 else if (tls_type & GOT_TLS_IE) in elf_i386_tls_transition() 1658 int tls_type, old_tls_type; in elf_i386_scan_relocs() local 1665 tls_type = GOT_NORMAL; in elf_i386_scan_relocs() 1667 case R_386_TLS_GD: tls_type = GOT_TLS_GD; break; in elf_i386_scan_relocs() 1670 tls_type = GOT_TLS_GDESC; break; in elf_i386_scan_relocs() 1673 tls_type = GOT_TLS_IE_NEG; in elf_i386_scan_relocs() 1677 tls_type = GOT_TLS_IE; in elf_i386_scan_relocs() [all …]
|
H A D | elfnn-loongarch.c | 53 #define GOT_TLS_GD_BOTH_P(tls_type) \ argument 54 ((tls_type & GOT_TLS_GD) && (tls_type & GOT_TLS_GDESC)) 55 #define GOT_TLS_GD_ANY_P(tls_type) \ argument 56 ((tls_type & GOT_TLS_GD) || (tls_type & GOT_TLS_GDESC)) 57 char tls_type; member 79 ? &loongarch_elf_hash_entry (h)->tls_type \ 257 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 559 char tls_type) in loongarch_elf_record_tls_and_got_reference() argument 568 symtab_hdr->sh_info * (sizeof (bfd_vma) + sizeof (tls_type)); in loongarch_elf_record_tls_and_got_reference() 575 switch (tls_type) in loongarch_elf_record_tls_and_got_reference() [all …]
|
H A D | elf32-metag.c | 791 } tls_type; member 991 hh->tls_type = GOT_UNKNOWN; in metag_link_hash_newfunc() 1762 char tls_type; in elf_metag_relocate_section() local 1782 tls_type = hh->tls_type; in elf_metag_relocate_section() 1791 tls_type = metag_elf_local_got_tls_type (input_bfd) [r_symndx]; in elf_metag_relocate_section() 1794 if (tls_type == GOT_UNKNOWN) in elf_metag_relocate_section() 1821 if (tls_type & GOT_TLS_GD) in elf_metag_relocate_section() 1868 if (tls_type & GOT_TLS_IE) in elf_metag_relocate_section() 2072 int tls_type = GOT_UNKNOWN, old_tls_type = GOT_UNKNOWN; in elf_metag_check_relocs() local 2154 tls_type = GOT_NORMAL; in elf_metag_check_relocs() [all …]
|
H A D | elf32-hppa.c | 234 ENUM_BITFIELD (_tls_type) tls_type : 8; 388 hh->tls_type = GOT_UNKNOWN; in hppa_link_hash_newfunc() 1045 hh_dir->tls_type |= hh_ind->tls_type; in elf32_hppa_copy_indirect_symbol() 1046 hh_ind->tls_type = GOT_UNKNOWN; in elf32_hppa_copy_indirect_symbol() 1294 int tls_type = GOT_NORMAL; in elf32_hppa_check_relocs() local 1302 tls_type = GOT_TLS_GD; in elf32_hppa_check_relocs() 1306 tls_type = GOT_TLS_LDM; in elf32_hppa_check_relocs() 1310 tls_type = GOT_TLS_IE; in elf32_hppa_check_relocs() 1324 if (tls_type == GOT_TLS_LDM) in elf32_hppa_check_relocs() 1328 hh->tls_type |= tls_type; in elf32_hppa_check_relocs() [all …]
|
H A D | elfxx-sparc.c | 697 unsigned char tls_type; member 1028 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 1290 edir->tls_type = eind->tls_type; in _bfd_sparc_elf_copy_indirect_symbol() 1291 eind->tls_type = GOT_UNKNOWN; in _bfd_sparc_elf_copy_indirect_symbol() 1491 int tls_type, old_tls_type; in _bfd_sparc_elf_check_relocs() local 1497 tls_type = GOT_TLS_GD; in _bfd_sparc_elf_check_relocs() 1501 tls_type = GOT_TLS_IE; in _bfd_sparc_elf_check_relocs() 1504 tls_type = GOT_NORMAL; in _bfd_sparc_elf_check_relocs() 1511 old_tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; in _bfd_sparc_elf_check_relocs() 1544 if (old_tls_type != tls_type) in _bfd_sparc_elf_check_relocs() [all …]
|
H A D | elf32-csky.c | 1173 unsigned char tls_type; member 1429 eh->tls_type = GOT_NORMAL; in csky_elf_link_hash_newfunc() 1747 int tls_type = csky_elf_hash_entry (h)->tls_type; in csky_allocate_dynrelocs() local 1757 BFD_ASSERT (tls_type != GOT_UNKNOWN); in csky_allocate_dynrelocs() 1758 if (tls_type == GOT_NORMAL) in csky_allocate_dynrelocs() 1763 if (tls_type & GOT_TLS_GD) in csky_allocate_dynrelocs() 1766 if (tls_type & GOT_TLS_IE) in csky_allocate_dynrelocs() 1776 if (tls_type != GOT_NORMAL in csky_allocate_dynrelocs() 1782 if (tls_type & GOT_TLS_IE) in csky_allocate_dynrelocs() 1784 if (tls_type & GOT_TLS_GD) in csky_allocate_dynrelocs() [all …]
|
H A D | elf32-nios2.c | 1744 unsigned char tls_type; member 2036 eh->tls_type = GOT_UNKNOWN; in link_hash_newfunc() 4215 char tls_type; in nios2_elf32_relocate_section() local 4235 tls_type = (((struct elf32_nios2_link_hash_entry *) h) in nios2_elf32_relocate_section() 4236 ->tls_type); in nios2_elf32_relocate_section() 4243 tls_type = (elf32_nios2_local_got_tls_type (input_bfd) in nios2_elf32_relocate_section() 4247 if (tls_type == GOT_UNKNOWN) in nios2_elf32_relocate_section() 4277 if (tls_type & GOT_TLS_GD) in nios2_elf32_relocate_section() 4329 if (tls_type & GOT_TLS_IE) in nios2_elf32_relocate_section() 4362 if ((tls_type & GOT_TLS_GD) && r_type != R_NIOS2_TLS_GD16) in nios2_elf32_relocate_section() [all …]
|
H A D | elf64-x86-64.c | 1395 unsigned int *r_type, int tls_type, in elf_x86_64_tls_transition() argument 1434 if (TLS_TRANSITION_IE_TO_LE_P (info, h, tls_type)) in elf_x86_64_tls_transition() 1442 if (tls_type == GOT_TLS_IE) in elf_x86_64_tls_transition() 2198 int tls_type, old_tls_type; in elf_x86_64_scan_relocs() local 2203 tls_type = GOT_NORMAL; in elf_x86_64_scan_relocs() 2207 tls_type = GOT_ABS; in elf_x86_64_scan_relocs() 2210 tls_type = GOT_ABS; in elf_x86_64_scan_relocs() 2213 tls_type = GOT_TLS_GD; in elf_x86_64_scan_relocs() 2217 tls_type = GOT_TLS_IE; in elf_x86_64_scan_relocs() 2222 tls_type = GOT_TLS_GDESC; in elf_x86_64_scan_relocs() [all …]
|