Home
last modified time | relevance | path

Searched refs:old_tls_type (Results 1 – 25 of 26) sorted by relevance

12

/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf32-i386.c1658 int tls_type, old_tls_type; in elf_i386_scan_relocs() local
1687 old_tls_type = elf_x86_hash_entry (h)->tls_type; in elf_i386_scan_relocs()
1700 old_tls_type = elf_x86_local_got_tls_type (abfd) [r_symndx]; in elf_i386_scan_relocs()
1703 if ((old_tls_type & GOT_TLS_IE) && (tls_type & GOT_TLS_IE)) in elf_i386_scan_relocs()
1704 tls_type |= old_tls_type; in elf_i386_scan_relocs()
1707 else if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in elf_i386_scan_relocs()
1708 && (! GOT_TLS_GD_ANY_P (old_tls_type) in elf_i386_scan_relocs()
1711 if ((old_tls_type & GOT_TLS_IE) && GOT_TLS_GD_ANY_P (tls_type)) in elf_i386_scan_relocs()
1712 tls_type = old_tls_type; in elf_i386_scan_relocs()
1713 else if (GOT_TLS_GD_ANY_P (old_tls_type) in elf_i386_scan_relocs()
[all …]
H A Delf32-tilepro.c1504 int old_tls_type; in tilepro_elf_check_relocs() local
1509 old_tls_type = tilepro_elf_hash_entry(h)->tls_type; in tilepro_elf_check_relocs()
1532 old_tls_type = in tilepro_elf_check_relocs()
1538 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilepro_elf_check_relocs()
1539 && (old_tls_type != GOT_TLS_GD in tilepro_elf_check_relocs()
1542 if (old_tls_type == GOT_TLS_IE && tls_type == GOT_TLS_GD) in tilepro_elf_check_relocs()
1543 tls_type = old_tls_type; in tilepro_elf_check_relocs()
1554 if (old_tls_type != tls_type) in tilepro_elf_check_relocs()
H A Delfxx-tilegx.c1724 int old_tls_type; in tilegx_elf_check_relocs() local
1729 old_tls_type = tilegx_elf_hash_entry(h)->tls_type; in tilegx_elf_check_relocs()
1752 old_tls_type = _bfd_tilegx_elf_local_got_tls_type (abfd) [r_symndx]; in tilegx_elf_check_relocs()
1757 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilegx_elf_check_relocs()
1758 && (old_tls_type != GOT_TLS_GD in tilegx_elf_check_relocs()
1761 if (old_tls_type == GOT_TLS_IE && tls_type == GOT_TLS_GD) in tilegx_elf_check_relocs()
1762 tls_type = old_tls_type; in tilegx_elf_check_relocs()
1773 if (old_tls_type != tls_type) in tilegx_elf_check_relocs()
H A Delf32-s390.c896 int tls_type, old_tls_type; in elf_s390_check_relocs() local
1136 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs()
1141 old_tls_type = elf_s390_local_got_tls_type (abfd) [r_symndx]; in elf_s390_check_relocs()
1145 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN) in elf_s390_check_relocs()
1147 if (old_tls_type == GOT_NORMAL || tls_type == GOT_NORMAL) in elf_s390_check_relocs()
1155 if (old_tls_type > tls_type) in elf_s390_check_relocs()
1156 tls_type = old_tls_type; in elf_s390_check_relocs()
1159 if (old_tls_type != tls_type) in elf_s390_check_relocs()
H A Delf64-s390.c815 int tls_type, old_tls_type; in elf_s390_check_relocs() local
1068 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs()
1073 old_tls_type = elf_s390_local_got_tls_type (abfd) [r_symndx]; in elf_s390_check_relocs()
1077 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN) in elf_s390_check_relocs()
1079 if (old_tls_type == GOT_NORMAL || tls_type == GOT_NORMAL) in elf_s390_check_relocs()
1087 if (old_tls_type > tls_type) in elf_s390_check_relocs()
1088 tls_type = old_tls_type; in elf_s390_check_relocs()
1091 if (old_tls_type != tls_type) in elf_s390_check_relocs()
H A Delf64-x86-64.c2198 int tls_type, old_tls_type; in elf_x86_64_scan_relocs() local
2229 old_tls_type = eh->tls_type; in elf_x86_64_scan_relocs()
2242 old_tls_type in elf_x86_64_scan_relocs()
2248 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in elf_x86_64_scan_relocs()
2249 && (! GOT_TLS_GD_ANY_P (old_tls_type) in elf_x86_64_scan_relocs()
2252 if (old_tls_type == GOT_TLS_IE && GOT_TLS_GD_ANY_P (tls_type)) in elf_x86_64_scan_relocs()
2253 tls_type = old_tls_type; in elf_x86_64_scan_relocs()
2254 else if (GOT_TLS_GD_ANY_P (old_tls_type) in elf_x86_64_scan_relocs()
2256 tls_type |= old_tls_type; in elf_x86_64_scan_relocs()
2274 if (old_tls_type != tls_type) in elf_x86_64_scan_relocs()
H A Delf32-csky.c2681 int tls_type, old_tls_type; in csky_elf_check_relocs() local
2713 old_tls_type = csky_elf_hash_entry (h)->tls_type; in csky_elf_check_relocs()
2739 old_tls_type = csky_elf_local_got_tls_type (abfd)[r_symndx]; in csky_elf_check_relocs()
2746 if (old_tls_type != GOT_UNKNOWN && old_tls_type != GOT_NORMAL in csky_elf_check_relocs()
2748 tls_type |= old_tls_type; in csky_elf_check_relocs()
2750 if (old_tls_type != tls_type) in csky_elf_check_relocs()
H A Delfxx-sparc.c1491 int tls_type, old_tls_type; in _bfd_sparc_elf_check_relocs() local
1511 old_tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; in _bfd_sparc_elf_check_relocs()
1538 old_tls_type in _bfd_sparc_elf_check_relocs()
1544 if (old_tls_type != tls_type) in _bfd_sparc_elf_check_relocs()
1546 if (old_tls_type == GOT_UNKNOWN) in _bfd_sparc_elf_check_relocs()
1548 else if (old_tls_type == GOT_TLS_GD && tls_type == GOT_TLS_IE) in _bfd_sparc_elf_check_relocs()
1550 else if (old_tls_type == GOT_TLS_IE && tls_type == GOT_TLS_GD) in _bfd_sparc_elf_check_relocs()
1551 tls_type = old_tls_type; in _bfd_sparc_elf_check_relocs()
H A Delf32-nios2.c4721 int tls_type, old_tls_type; in nios2_elf32_check_relocs() local
4747 old_tls_type = elf32_nios2_hash_entry(h)->tls_type; in nios2_elf32_check_relocs()
4781 old_tls_type = elf32_nios2_local_got_tls_type (abfd) [r_symndx]; in nios2_elf32_check_relocs()
4788 if (old_tls_type != GOT_UNKNOWN && old_tls_type != GOT_NORMAL in nios2_elf32_check_relocs()
4790 tls_type |= old_tls_type; in nios2_elf32_check_relocs()
4792 if (old_tls_type != tls_type) in nios2_elf32_check_relocs()
H A Delf32-xtensa.c1079 int tls_type, old_tls_type; in elf_xtensa_check_relocs() local
1210 old_tls_type = eh->tls_type; in elf_xtensa_check_relocs()
1244 old_tls_type = elf_xtensa_local_got_tls_type (abfd) [r_symndx]; in elf_xtensa_check_relocs()
1247 if ((old_tls_type & GOT_TLS_IE) && (tls_type & GOT_TLS_IE)) in elf_xtensa_check_relocs()
1248 tls_type |= old_tls_type; in elf_xtensa_check_relocs()
1251 else if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in elf_xtensa_check_relocs()
1252 && ((old_tls_type & GOT_TLS_GD) == 0 in elf_xtensa_check_relocs()
1255 if ((old_tls_type & GOT_TLS_IE) && (tls_type & GOT_TLS_GD)) in elf_xtensa_check_relocs()
1256 tls_type = old_tls_type; in elf_xtensa_check_relocs()
1257 else if ((old_tls_type & GOT_TLS_GD) && (tls_type & GOT_TLS_GD)) in elf_xtensa_check_relocs()
[all …]
H A Delf32-metag.c2072 int tls_type = GOT_UNKNOWN, old_tls_type = GOT_UNKNOWN; in elf_metag_check_relocs() local
2167 old_tls_type = hh->tls_type; in elf_metag_check_relocs()
2193 old_tls_type = metag_elf_local_got_tls_type (abfd) [r_symndx]; in elf_metag_check_relocs()
2196 if (old_tls_type != tls_type) in elf_metag_check_relocs()
H A Delf32-nds32.c7058 enum elf_nds32_tls_type tls_type, old_tls_type; in nds32_elf_check_relocs() local
7137 old_tls_type = elf32_nds32_hash_entry (h)->tls_type; in nds32_elf_check_relocs()
7148 old_tls_type = elf32_nds32_local_got_tls_type (abfd)[r_symndx]; in nds32_elf_check_relocs()
7154 if (old_tls_type != GOT_UNKNOWN && old_tls_type != GOT_NORMAL in nds32_elf_check_relocs()
7156 tls_type |= old_tls_type; in nds32_elf_check_relocs()
7163 if (old_tls_type != tls_type) in nds32_elf_check_relocs()
H A Delf32-arm.c15466 int tls_type, old_tls_type; in elf32_arm_check_relocs() local
15490 old_tls_type = elf32_arm_hash_entry (h)->tls_type; in elf32_arm_check_relocs()
15505 old_tls_type = elf32_arm_local_got_tls_type (abfd) [r_symndx]; in elf32_arm_check_relocs()
15510 if (GOT_TLS_GD_ANY_P (old_tls_type) in elf32_arm_check_relocs()
15512 tls_type |= old_tls_type; in elf32_arm_check_relocs()
15517 if (old_tls_type != GOT_UNKNOWN && old_tls_type != GOT_NORMAL in elf32_arm_check_relocs()
15519 tls_type |= old_tls_type; in elf32_arm_check_relocs()
15528 if (old_tls_type != tls_type) in elf32_arm_check_relocs()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf32-i386.c1634 int tls_type, old_tls_type; in elf_i386_scan_relocs() local
1663 old_tls_type = elf_x86_hash_entry (h)->tls_type; in elf_i386_scan_relocs()
1676 old_tls_type = elf_x86_local_got_tls_type (abfd) [r_symndx]; in elf_i386_scan_relocs()
1679 if ((old_tls_type & GOT_TLS_IE) && (tls_type & GOT_TLS_IE)) in elf_i386_scan_relocs()
1680 tls_type |= old_tls_type; in elf_i386_scan_relocs()
1683 else if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in elf_i386_scan_relocs()
1684 && (! GOT_TLS_GD_ANY_P (old_tls_type) in elf_i386_scan_relocs()
1687 if ((old_tls_type & GOT_TLS_IE) && GOT_TLS_GD_ANY_P (tls_type)) in elf_i386_scan_relocs()
1688 tls_type = old_tls_type; in elf_i386_scan_relocs()
1689 else if (GOT_TLS_GD_ANY_P (old_tls_type) in elf_i386_scan_relocs()
[all …]
H A Delf32-tilepro.c1504 int old_tls_type; in tilepro_elf_check_relocs() local
1509 old_tls_type = tilepro_elf_hash_entry(h)->tls_type; in tilepro_elf_check_relocs()
1532 old_tls_type = in tilepro_elf_check_relocs()
1538 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilepro_elf_check_relocs()
1539 && (old_tls_type != GOT_TLS_GD in tilepro_elf_check_relocs()
1542 if (old_tls_type == GOT_TLS_IE && tls_type == GOT_TLS_GD) in tilepro_elf_check_relocs()
1543 tls_type = old_tls_type; in tilepro_elf_check_relocs()
1554 if (old_tls_type != tls_type) in tilepro_elf_check_relocs()
H A Delfxx-tilegx.c1724 int old_tls_type; in tilegx_elf_check_relocs() local
1729 old_tls_type = tilegx_elf_hash_entry(h)->tls_type; in tilegx_elf_check_relocs()
1752 old_tls_type = _bfd_tilegx_elf_local_got_tls_type (abfd) [r_symndx]; in tilegx_elf_check_relocs()
1757 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in tilegx_elf_check_relocs()
1758 && (old_tls_type != GOT_TLS_GD in tilegx_elf_check_relocs()
1761 if (old_tls_type == GOT_TLS_IE && tls_type == GOT_TLS_GD) in tilegx_elf_check_relocs()
1762 tls_type = old_tls_type; in tilegx_elf_check_relocs()
1773 if (old_tls_type != tls_type) in tilegx_elf_check_relocs()
H A Delf64-s390.c815 int tls_type, old_tls_type; in elf_s390_check_relocs() local
1068 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs()
1073 old_tls_type = elf_s390_local_got_tls_type (abfd) [r_symndx]; in elf_s390_check_relocs()
1077 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN) in elf_s390_check_relocs()
1079 if (old_tls_type == GOT_NORMAL || tls_type == GOT_NORMAL) in elf_s390_check_relocs()
1087 if (old_tls_type > tls_type) in elf_s390_check_relocs()
1088 tls_type = old_tls_type; in elf_s390_check_relocs()
1091 if (old_tls_type != tls_type) in elf_s390_check_relocs()
H A Delf32-s390.c896 int tls_type, old_tls_type; in elf_s390_check_relocs() local
1136 old_tls_type = elf_s390_hash_entry(h)->tls_type; in elf_s390_check_relocs()
1141 old_tls_type = elf_s390_local_got_tls_type (abfd) [r_symndx]; in elf_s390_check_relocs()
1145 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN) in elf_s390_check_relocs()
1147 if (old_tls_type == GOT_NORMAL || tls_type == GOT_NORMAL) in elf_s390_check_relocs()
1155 if (old_tls_type > tls_type) in elf_s390_check_relocs()
1156 tls_type = old_tls_type; in elf_s390_check_relocs()
1159 if (old_tls_type != tls_type) in elf_s390_check_relocs()
H A Delf64-x86-64.c2026 int tls_type, old_tls_type; in elf_x86_64_scan_relocs() local
2055 old_tls_type = eh->tls_type; in elf_x86_64_scan_relocs()
2068 old_tls_type in elf_x86_64_scan_relocs()
2074 if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in elf_x86_64_scan_relocs()
2075 && (! GOT_TLS_GD_ANY_P (old_tls_type) in elf_x86_64_scan_relocs()
2078 if (old_tls_type == GOT_TLS_IE && GOT_TLS_GD_ANY_P (tls_type)) in elf_x86_64_scan_relocs()
2079 tls_type = old_tls_type; in elf_x86_64_scan_relocs()
2080 else if (GOT_TLS_GD_ANY_P (old_tls_type) in elf_x86_64_scan_relocs()
2082 tls_type |= old_tls_type; in elf_x86_64_scan_relocs()
2100 if (old_tls_type != tls_type) in elf_x86_64_scan_relocs()
H A Delf32-csky.c2682 int tls_type, old_tls_type; in csky_elf_check_relocs() local
2714 old_tls_type = csky_elf_hash_entry (h)->tls_type; in csky_elf_check_relocs()
2740 old_tls_type = csky_elf_local_got_tls_type (abfd)[r_symndx]; in csky_elf_check_relocs()
2747 if (old_tls_type != GOT_UNKNOWN && old_tls_type != GOT_NORMAL in csky_elf_check_relocs()
2749 tls_type |= old_tls_type; in csky_elf_check_relocs()
2751 if (old_tls_type != tls_type) in csky_elf_check_relocs()
H A Delfxx-sparc.c1491 int tls_type, old_tls_type; in _bfd_sparc_elf_check_relocs() local
1511 old_tls_type = _bfd_sparc_elf_hash_entry(h)->tls_type; in _bfd_sparc_elf_check_relocs()
1538 old_tls_type in _bfd_sparc_elf_check_relocs()
1544 if (old_tls_type != tls_type) in _bfd_sparc_elf_check_relocs()
1546 if (old_tls_type == GOT_UNKNOWN) in _bfd_sparc_elf_check_relocs()
1548 else if (old_tls_type == GOT_TLS_GD && tls_type == GOT_TLS_IE) in _bfd_sparc_elf_check_relocs()
1550 else if (old_tls_type == GOT_TLS_IE && tls_type == GOT_TLS_GD) in _bfd_sparc_elf_check_relocs()
1551 tls_type = old_tls_type; in _bfd_sparc_elf_check_relocs()
H A Delf32-nios2.c4727 int tls_type, old_tls_type; in nios2_elf32_check_relocs() local
4753 old_tls_type = elf32_nios2_hash_entry(h)->tls_type; in nios2_elf32_check_relocs()
4787 old_tls_type = elf32_nios2_local_got_tls_type (abfd) [r_symndx]; in nios2_elf32_check_relocs()
4794 if (old_tls_type != GOT_UNKNOWN && old_tls_type != GOT_NORMAL in nios2_elf32_check_relocs()
4796 tls_type |= old_tls_type; in nios2_elf32_check_relocs()
4798 if (old_tls_type != tls_type) in nios2_elf32_check_relocs()
H A Delf32-xtensa.c1091 int tls_type, old_tls_type; in elf_xtensa_check_relocs() local
1221 old_tls_type = eh->tls_type; in elf_xtensa_check_relocs()
1255 old_tls_type = elf_xtensa_local_got_tls_type (abfd) [r_symndx]; in elf_xtensa_check_relocs()
1258 if ((old_tls_type & GOT_TLS_IE) && (tls_type & GOT_TLS_IE)) in elf_xtensa_check_relocs()
1259 tls_type |= old_tls_type; in elf_xtensa_check_relocs()
1262 else if (old_tls_type != tls_type && old_tls_type != GOT_UNKNOWN in elf_xtensa_check_relocs()
1263 && ((old_tls_type & GOT_TLS_GD) == 0 in elf_xtensa_check_relocs()
1266 if ((old_tls_type & GOT_TLS_IE) && (tls_type & GOT_TLS_GD)) in elf_xtensa_check_relocs()
1267 tls_type = old_tls_type; in elf_xtensa_check_relocs()
1268 else if ((old_tls_type & GOT_TLS_GD) && (tls_type & GOT_TLS_GD)) in elf_xtensa_check_relocs()
[all …]
H A Delf32-metag.c2072 int tls_type = GOT_UNKNOWN, old_tls_type = GOT_UNKNOWN; in elf_metag_check_relocs() local
2167 old_tls_type = hh->tls_type; in elf_metag_check_relocs()
2193 old_tls_type = metag_elf_local_got_tls_type (abfd) [r_symndx]; in elf_metag_check_relocs()
2196 if (old_tls_type != tls_type) in elf_metag_check_relocs()
H A Delf32-nds32.c7058 enum elf_nds32_tls_type tls_type, old_tls_type; in nds32_elf_check_relocs() local
7137 old_tls_type = elf32_nds32_hash_entry (h)->tls_type; in nds32_elf_check_relocs()
7148 old_tls_type = elf32_nds32_local_got_tls_type (abfd)[r_symndx]; in nds32_elf_check_relocs()
7154 if (old_tls_type != GOT_UNKNOWN && old_tls_type != GOT_NORMAL in nds32_elf_check_relocs()
7156 tls_type |= old_tls_type; in nds32_elf_check_relocs()
7163 if (old_tls_type != tls_type) in nds32_elf_check_relocs()

12