Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.25/bfd/
Delf32-cris.c2474 bfd_signed_vma *local_got_refcounts; in cris_elf_gc_sweep_hook() local
2493 local_got_refcounts = elf_local_got_refcounts (abfd); in cris_elf_gc_sweep_hook()
2525 : &local_got_refcounts[LGOT_REG_NDX (r_symndx)]; in cris_elf_gc_sweep_hook()
2534 : &local_got_refcounts[LGOT_DTP_NDX (r_symndx)]; in cris_elf_gc_sweep_hook()
2542 : &local_got_refcounts[LGOT_TPREL_NDX (r_symndx)]; in cris_elf_gc_sweep_hook()
2578 if (local_got_refcounts != NULL) in cris_elf_gc_sweep_hook()
2582 BFD_ASSERT (local_got_refcounts[r_symndx] > 0); in cris_elf_gc_sweep_hook()
2583 --local_got_refcounts[r_symndx]; in cris_elf_gc_sweep_hook()
2609 if (local_got_refcounts != NULL) in cris_elf_gc_sweep_hook()
2610 local_got_refcounts[-1]--; in cris_elf_gc_sweep_hook()
[all …]
Delf32-or1k.c1315 bfd_signed_vma *local_got_refcounts; in or1k_elf_gc_sweep_hook() local
1322 local_got_refcounts = elf_local_got_refcounts (abfd); in or1k_elf_gc_sweep_hook()
1349 if (local_got_refcounts && local_got_refcounts[r_symndx] > 0) in or1k_elf_gc_sweep_hook()
1350 local_got_refcounts[r_symndx]--; in or1k_elf_gc_sweep_hook()
1547 bfd_signed_vma *local_got_refcounts; in or1k_elf_check_relocs() local
1550 local_got_refcounts = elf_local_got_refcounts (abfd); in or1k_elf_check_relocs()
1551 if (local_got_refcounts == NULL) in or1k_elf_check_relocs()
1557 local_got_refcounts = bfd_zalloc (abfd, size); in or1k_elf_check_relocs()
1558 if (local_got_refcounts == NULL) in or1k_elf_check_relocs()
1560 elf_local_got_refcounts (abfd) = local_got_refcounts; in or1k_elf_check_relocs()
[all …]
Delf32-lm32.c1215 bfd_signed_vma *local_got_refcounts; in lm32_elf_gc_sweep_hook() local
1222 local_got_refcounts = elf_local_got_refcounts (abfd); in lm32_elf_gc_sweep_hook()
1249 if (local_got_refcounts && local_got_refcounts[r_symndx] > 0) in lm32_elf_gc_sweep_hook()
1250 local_got_refcounts[r_symndx]--; in lm32_elf_gc_sweep_hook()
1371 bfd_signed_vma *local_got_refcounts; in lm32_elf_check_relocs() local
1374 local_got_refcounts = elf_local_got_refcounts (abfd); in lm32_elf_check_relocs()
1375 if (local_got_refcounts == NULL) in lm32_elf_check_relocs()
1381 local_got_refcounts = bfd_zalloc (abfd, size); in lm32_elf_check_relocs()
1382 if (local_got_refcounts == NULL) in lm32_elf_check_relocs()
1384 elf_local_got_refcounts (abfd) = local_got_refcounts; in lm32_elf_check_relocs()
[all …]
Delf32-s390.c977 bfd_signed_vma *local_got_refcounts; in elf_s390_check_relocs() local
989 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_check_relocs()
1027 if (local_got_refcounts == NULL) in elf_s390_check_relocs()
1031 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_check_relocs()
1075 && local_got_refcounts == NULL) in elf_s390_check_relocs()
1079 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_check_relocs()
1168 local_got_refcounts[r_symndx] += 1; in elf_s390_check_relocs()
1222 local_got_refcounts[r_symndx] += 1; in elf_s390_check_relocs()
1459 bfd_signed_vma *local_got_refcounts; in elf_s390_gc_sweep_hook() local
1473 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_gc_sweep_hook()
[all …]
Delf64-s390.c896 bfd_signed_vma *local_got_refcounts; in elf_s390_check_relocs() local
910 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_check_relocs()
950 if (local_got_refcounts == NULL) in elf_s390_check_relocs()
954 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_check_relocs()
1000 && local_got_refcounts == NULL) in elf_s390_check_relocs()
1004 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_check_relocs()
1100 local_got_refcounts[r_symndx] += 1; in elf_s390_check_relocs()
1155 local_got_refcounts[r_symndx] += 1; in elf_s390_check_relocs()
1395 bfd_signed_vma *local_got_refcounts; in elf_s390_gc_sweep_hook() local
1409 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_s390_gc_sweep_hook()
[all …]
Delf32-i386.c1595 bfd_signed_vma *local_got_refcounts; in elf_i386_check_relocs() local
1598 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_i386_check_relocs()
1599 if (local_got_refcounts == NULL) in elf_i386_check_relocs()
1606 local_got_refcounts = (bfd_signed_vma *) in elf_i386_check_relocs()
1608 if (local_got_refcounts == NULL) in elf_i386_check_relocs()
1610 elf_local_got_refcounts (abfd) = local_got_refcounts; in elf_i386_check_relocs()
1612 = (bfd_vma *) (local_got_refcounts + symtab_hdr->sh_info); in elf_i386_check_relocs()
1614 = (char *) (local_got_refcounts + 2 * symtab_hdr->sh_info); in elf_i386_check_relocs()
1616 local_got_refcounts[r_symndx] += 1; in elf_i386_check_relocs()
1859 bfd_signed_vma *local_got_refcounts; in elf_i386_gc_sweep_hook() local
[all …]
Delf32-m32r.c3600 bfd_signed_vma *local_got_refcounts; in m32r_elf_gc_sweep_hook() local
3610 local_got_refcounts = elf_local_got_refcounts (abfd); in m32r_elf_gc_sweep_hook()
3648 if (local_got_refcounts && local_got_refcounts[r_symndx] > 0) in m32r_elf_gc_sweep_hook()
3649 local_got_refcounts[r_symndx]--; in m32r_elf_gc_sweep_hook()
3800 bfd_signed_vma *local_got_refcounts; in m32r_elf_check_relocs() local
3804 local_got_refcounts = elf_local_got_refcounts (abfd); in m32r_elf_check_relocs()
3805 if (local_got_refcounts == NULL) in m32r_elf_check_relocs()
3811 local_got_refcounts = bfd_zalloc (abfd, size); in m32r_elf_check_relocs()
3812 if (local_got_refcounts == NULL) in m32r_elf_check_relocs()
3814 elf_local_got_refcounts (abfd) = local_got_refcounts; in m32r_elf_check_relocs()
[all …]
Delf32-tilepro.c1593 bfd_signed_vma *local_got_refcounts; in tilepro_elf_check_relocs() local
1596 local_got_refcounts = elf_local_got_refcounts (abfd); in tilepro_elf_check_relocs()
1597 if (local_got_refcounts == NULL) in tilepro_elf_check_relocs()
1603 local_got_refcounts = ((bfd_signed_vma *) in tilepro_elf_check_relocs()
1605 if (local_got_refcounts == NULL) in tilepro_elf_check_relocs()
1607 elf_local_got_refcounts (abfd) = local_got_refcounts; in tilepro_elf_check_relocs()
1609 = (char *) (local_got_refcounts + symtab_hdr->sh_info); in tilepro_elf_check_relocs()
1611 local_got_refcounts[r_symndx] += 1; in tilepro_elf_check_relocs()
1915 bfd_signed_vma *local_got_refcounts; in tilepro_elf_gc_sweep_hook() local
1929 local_got_refcounts = elf_local_got_refcounts (abfd); in tilepro_elf_gc_sweep_hook()
[all …]
Delf32-metag.c2208 bfd_signed_vma *local_got_refcounts; in elf_metag_check_relocs() local
2212 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_metag_check_relocs()
2213 if (local_got_refcounts == NULL) in elf_metag_check_relocs()
2221 local_got_refcounts = ((bfd_signed_vma *) in elf_metag_check_relocs()
2223 if (local_got_refcounts == NULL) in elf_metag_check_relocs()
2225 elf_local_got_refcounts (abfd) = local_got_refcounts; in elf_metag_check_relocs()
2229 local_got_refcounts[r_symndx] += 1; in elf_metag_check_relocs()
3458 bfd_signed_vma *local_got_refcounts; in elf_metag_gc_sweep_hook() local
3469 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_metag_gc_sweep_hook()
3470 local_plt_refcounts = local_got_refcounts; in elf_metag_gc_sweep_hook()
[all …]
Delf64-x86-64.c1760 bfd_signed_vma *local_got_refcounts; in elf_x86_64_check_relocs() local
1763 local_got_refcounts = elf_local_got_refcounts (abfd); in elf_x86_64_check_relocs()
1764 if (local_got_refcounts == NULL) in elf_x86_64_check_relocs()
1771 local_got_refcounts = ((bfd_signed_vma *) in elf_x86_64_check_relocs()
1773 if (local_got_refcounts == NULL) in elf_x86_64_check_relocs()
1775 elf_local_got_refcounts (abfd) = local_got_refcounts; in elf_x86_64_check_relocs()
1777 = (bfd_vma *) (local_got_refcounts + symtab_hdr->sh_info); in elf_x86_64_check_relocs()
1779 = (char *) (local_got_refcounts + 2 * symtab_hdr->sh_info); in elf_x86_64_check_relocs()
1781 local_got_refcounts[r_symndx] += 1; in elf_x86_64_check_relocs()
2084 bfd_signed_vma *local_got_refcounts; in elf_x86_64_gc_sweep_hook() local
[all …]
Delf32-tic6x.c1993 bfd_signed_vma *local_got_refcounts; in elf32_tic6x_gc_sweep_hook() local
2007 local_got_refcounts = elf_local_got_refcounts (abfd); in elf32_tic6x_gc_sweep_hook()
2051 else if (local_got_refcounts != NULL) in elf32_tic6x_gc_sweep_hook()
2053 if (local_got_refcounts[r_symndx] > 0) in elf32_tic6x_gc_sweep_hook()
2054 local_got_refcounts[r_symndx] -= 1; in elf32_tic6x_gc_sweep_hook()
2871 bfd_signed_vma *local_got_refcounts; in elf32_tic6x_check_relocs() local
2874 local_got_refcounts = elf_local_got_refcounts (abfd); in elf32_tic6x_check_relocs()
2875 if (local_got_refcounts == NULL) in elf32_tic6x_check_relocs()
2882 local_got_refcounts = bfd_zalloc (abfd, size); in elf32_tic6x_check_relocs()
2883 if (local_got_refcounts == NULL) in elf32_tic6x_check_relocs()
[all …]
Delfxx-tilegx.c1803 bfd_signed_vma *local_got_refcounts; in tilegx_elf_check_relocs() local
1806 local_got_refcounts = elf_local_got_refcounts (abfd); in tilegx_elf_check_relocs()
1807 if (local_got_refcounts == NULL) in tilegx_elf_check_relocs()
1813 local_got_refcounts = ((bfd_signed_vma *) in tilegx_elf_check_relocs()
1815 if (local_got_refcounts == NULL) in tilegx_elf_check_relocs()
1817 elf_local_got_refcounts (abfd) = local_got_refcounts; in tilegx_elf_check_relocs()
1819 = (char *) (local_got_refcounts + symtab_hdr->sh_info); in tilegx_elf_check_relocs()
1821 local_got_refcounts[r_symndx] += 1; in tilegx_elf_check_relocs()
2154 bfd_signed_vma *local_got_refcounts; in tilegx_elf_gc_sweep_hook() local
2168 local_got_refcounts = elf_local_got_refcounts (abfd); in tilegx_elf_gc_sweep_hook()
[all …]
Delf32-sh.c5679 bfd_signed_vma *local_got_refcounts; in sh_elf_gc_sweep_hook() local
5690 local_got_refcounts = elf_local_got_refcounts (abfd); in sh_elf_gc_sweep_hook()
5777 else if (local_got_refcounts != NULL) in sh_elf_gc_sweep_hook()
5782 if (local_got_refcounts[symtab_hdr->sh_info + r_symndx] > 0) in sh_elf_gc_sweep_hook()
5783 local_got_refcounts[symtab_hdr->sh_info + r_symndx] -= 1; in sh_elf_gc_sweep_hook()
5787 if (local_got_refcounts[r_symndx] > 0) in sh_elf_gc_sweep_hook()
5788 local_got_refcounts[r_symndx] -= 1; in sh_elf_gc_sweep_hook()
5862 else if (local_got_refcounts != NULL) in sh_elf_gc_sweep_hook()
5867 if (local_got_refcounts[symtab_hdr->sh_info + r_symndx] > 0) in sh_elf_gc_sweep_hook()
5868 local_got_refcounts[symtab_hdr->sh_info + r_symndx] -= 1; in sh_elf_gc_sweep_hook()
[all …]
Delf32-bfin.c1162 bfd_signed_vma *local_got_refcounts; in bfin_check_relocs() local
1174 local_got_refcounts = elf_local_got_refcounts (abfd); in bfin_check_relocs()
1273 if (local_got_refcounts == NULL) in bfin_check_relocs()
1279 local_got_refcounts = ((bfd_signed_vma *) in bfin_check_relocs()
1281 if (local_got_refcounts == NULL) in bfin_check_relocs()
1283 elf_local_got_refcounts (abfd) = local_got_refcounts; in bfin_check_relocs()
1285 if (local_got_refcounts[r_symndx] == 0) in bfin_check_relocs()
1296 local_got_refcounts[r_symndx]++; in bfin_check_relocs()
1672 bfd_signed_vma *local_got_refcounts; in bfin_gc_sweep_hook() local
1684 local_got_refcounts = elf_local_got_refcounts (abfd); in bfin_gc_sweep_hook()
[all …]
Delf32-nios2.c3724 bfd_signed_vma *local_got_refcounts; in nios2_elf32_check_relocs() local
3736 local_got_refcounts = elf_local_got_refcounts (abfd); in nios2_elf32_check_relocs()
3843 if (local_got_refcounts == NULL) in nios2_elf32_check_relocs()
3849 local_got_refcounts in nios2_elf32_check_relocs()
3851 if (local_got_refcounts == NULL) in nios2_elf32_check_relocs()
3853 elf_local_got_refcounts (abfd) = local_got_refcounts; in nios2_elf32_check_relocs()
3855 = (char *) (local_got_refcounts + symtab_hdr->sh_info); in nios2_elf32_check_relocs()
3857 local_got_refcounts[r_symndx]++; in nios2_elf32_check_relocs()
4035 bfd_signed_vma *local_got_refcounts; in nios2_elf32_gc_sweep_hook() local
4050 local_got_refcounts = elf_local_got_refcounts (abfd); in nios2_elf32_gc_sweep_hook()
[all …]
Delf32-microblaze.c2287 bfd_signed_vma *local_got_refcounts = elf_local_got_refcounts (abfd); in update_local_sym_info() local
2290 if (local_got_refcounts == NULL) in update_local_sym_info()
2294 size *= (sizeof (*local_got_refcounts) + sizeof (*local_got_tls_masks)); in update_local_sym_info()
2295 local_got_refcounts = bfd_zalloc (abfd, size); in update_local_sym_info()
2296 if (local_got_refcounts == NULL) in update_local_sym_info()
2298 elf_local_got_refcounts (abfd) = local_got_refcounts; in update_local_sym_info()
2302 (unsigned char *) (local_got_refcounts + symtab_hdr->sh_info); in update_local_sym_info()
2304 local_got_refcounts[r_symndx] += 1; in update_local_sym_info()
Delfxx-sparc.c1554 bfd_signed_vma *local_got_refcounts; in _bfd_sparc_elf_check_relocs() local
1557 local_got_refcounts = elf_local_got_refcounts (abfd); in _bfd_sparc_elf_check_relocs()
1558 if (local_got_refcounts == NULL) in _bfd_sparc_elf_check_relocs()
1564 local_got_refcounts = ((bfd_signed_vma *) in _bfd_sparc_elf_check_relocs()
1566 if (local_got_refcounts == NULL) in _bfd_sparc_elf_check_relocs()
1568 elf_local_got_refcounts (abfd) = local_got_refcounts; in _bfd_sparc_elf_check_relocs()
1570 = (char *) (local_got_refcounts + symtab_hdr->sh_info); in _bfd_sparc_elf_check_relocs()
1579 local_got_refcounts[r_symndx] += 1; in _bfd_sparc_elf_check_relocs()
1928 bfd_signed_vma *local_got_refcounts; in _bfd_sparc_elf_gc_sweep_hook() local
1942 local_got_refcounts = elf_local_got_refcounts (abfd); in _bfd_sparc_elf_gc_sweep_hook()
[all …]
Delf32-ppc.c3758 bfd_signed_vma *local_got_refcounts = elf_local_got_refcounts (abfd); in update_local_sym_info() local
3762 if (local_got_refcounts == NULL) in update_local_sym_info()
3766 size *= (sizeof (*local_got_refcounts) in update_local_sym_info()
3769 local_got_refcounts = bfd_zalloc (abfd, size); in update_local_sym_info()
3770 if (local_got_refcounts == NULL) in update_local_sym_info()
3772 elf_local_got_refcounts (abfd) = local_got_refcounts; in update_local_sym_info()
3775 local_plt = (struct plt_entry **) (local_got_refcounts + symtab_hdr->sh_info); in update_local_sym_info()
3779 local_got_refcounts[r_symndx] += 1; in update_local_sym_info()
4916 bfd_signed_vma *local_got_refcounts; in ppc_elf_gc_sweep_hook() local
4931 local_got_refcounts = elf_local_got_refcounts (abfd); in ppc_elf_gc_sweep_hook()
[all …]
Delf32-nds32.c6200 bfd_signed_vma *local_got_refcounts; in nds32_elf_gc_sweep_hook() local
6207 local_got_refcounts = elf_local_got_refcounts (abfd); in nds32_elf_gc_sweep_hook()
6249 if (local_got_refcounts && local_got_refcounts[r_symndx] > 0) in nds32_elf_gc_sweep_hook()
6250 local_got_refcounts[r_symndx]--; in nds32_elf_gc_sweep_hook()
6433 bfd_signed_vma *local_got_refcounts; in nds32_elf_check_relocs() local
6437 local_got_refcounts = elf_local_got_refcounts (abfd); in nds32_elf_check_relocs()
6438 if (local_got_refcounts == NULL) in nds32_elf_check_relocs()
6444 local_got_refcounts = (bfd_signed_vma *) bfd_zalloc (abfd, size); in nds32_elf_check_relocs()
6445 if (local_got_refcounts == NULL) in nds32_elf_check_relocs()
6447 elf_local_got_refcounts (abfd) = local_got_refcounts; in nds32_elf_check_relocs()
[all …]
Delf32-xtensa.c1566 bfd_signed_vma *local_got_refcounts; in elf_xtensa_allocate_local_got_size() local
1570 local_got_refcounts = elf_local_got_refcounts (i); in elf_xtensa_allocate_local_got_size()
1571 if (!local_got_refcounts) in elf_xtensa_allocate_local_got_size()
1585 BFD_ASSERT (local_got_refcounts[j] >= *tlsfunc_refcount); in elf_xtensa_allocate_local_got_size()
1586 local_got_refcounts[j] -= *tlsfunc_refcount; in elf_xtensa_allocate_local_got_size()
1589 if (local_got_refcounts[j] > 0) in elf_xtensa_allocate_local_got_size()
1590 htab->srelgot->size += (local_got_refcounts[j] in elf_xtensa_allocate_local_got_size()
Delf32-arm.c12441 bfd_signed_vma *local_got_refcounts; in elf32_arm_gc_sweep_hook() local
12456 local_got_refcounts = elf_local_got_refcounts (abfd); in elf32_arm_gc_sweep_hook()
12500 else if (local_got_refcounts != NULL) in elf32_arm_gc_sweep_hook()
12502 if (local_got_refcounts[r_symndx] > 0) in elf32_arm_gc_sweep_hook()
12503 local_got_refcounts[r_symndx] -= 1; in elf32_arm_gc_sweep_hook()
DChangeLog-00011073 section. Initialise local_got_refcounts to 0. Cache pointer to
1890 (elf_i386_check_relocs): Initialise local_got_refcounts to 0.
1902 (elf32_hppa_check_relocs): Initialise local_got_refcounts to 0.
3905 adjusting index into local_got_refcounts to document what we are
6609 local_got_refcounts. Set h->plabel for all global PLABELs. Use
8458 Check local_got_refcounts before dereferencing.
8462 (ppc_elf_gc_sweep_hook): Check local_got_refcounts before
DChangeLog-02034941 (elf_s390_check_relocs): Move allocation of local_got_refcounts array
6137 Decrement local_got_refcounts entry for datalabel got relocs
6388 local_got_refcounts usage. Remove allocation of got slot.
6389 (elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage.
Delfxx-mips.c12384 bfd_signed_vma *local_got_refcounts; in _bfd_mips_elf_gc_sweep_hook()
12394 local_got_refcounts = elf_local_got_refcounts (abfd); in _bfd_mips_elf_gc_sweep_hook()
DChangeLog-20091640 Don't bump local_got_refcounts for PLT_IFUNC. Return local_plt