Home
last modified time | relevance | path

Searched refs:sgot (Results 1 – 17 of 17) sorted by relevance

/freebsd-12-stable/contrib/binutils/bfd/
Delf32-score.c956 asection *sgot = bfd_get_section_by_name (abfd, ".got"); in score_elf_got_section() local
958 if (sgot == NULL || (! maybe_excluded && (sgot->flags & SEC_EXCLUDE) != 0)) in score_elf_got_section()
960 return sgot; in score_elf_got_section()
969 asection *sgot; in score_elf_got_info() local
972 sgot = score_elf_got_section (abfd, TRUE); in score_elf_got_info()
973 BFD_ASSERT (sgot != NULL); in score_elf_got_info()
974 BFD_ASSERT (elf_section_data (sgot) != NULL); in score_elf_got_info()
975 g = score_elf_section_data (sgot)->u.got_info; in score_elf_got_info()
979 *sgotp = sgot; in score_elf_got_info()
1386 asection *sgot, bfd_vma value, in score_elf_create_local_got_entry() argument
[all …]
Delf32-i386.c656 asection *sgot; member
748 ret->sgot = NULL; in elf_i386_link_hash_table_create()
778 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
780 if (!htab->sgot || !htab->sgotplt) in create_got_section()
805 if (!htab->sgot && !create_got_section (dynobj, info)) in elf_i386_create_dynamic_sections()
1105 if (htab->sgot == NULL) in elf_i386_check_relocs()
1673 s = htab->sgot; in allocate_dynrelocs()
1918 s = htab->sgot; in elf_i386_size_dynamic_sections()
1964 htab->tls_ldm_got.offset = htab->sgot->size; in elf_i386_size_dynamic_sections()
1965 htab->sgot->size += 8; in elf_i386_size_dynamic_sections()
[all …]
Delf64-s390.c674 asection *sgot; member
749 ret->sgot = NULL;
776 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
778 if (!htab->sgot || !htab->sgotplt)
805 if (!htab->sgot && !create_got_section (dynobj, info))
1021 if (htab->sgot == NULL)
1786 h->got.offset = htab->sgot->size;
1787 htab->sgot->size += GOT_ENTRY_SIZE;
1807 s = htab->sgot;
2026 s = htab->sgot;
[all …]
Delf32-s390.c719 asection *sgot; member
794 ret->sgot = NULL;
821 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
823 if (!htab->sgot || !htab->sgotplt)
850 if (!htab->sgot && !create_got_section (dynobj, info))
1062 if (htab->sgot == NULL)
1811 h->got.offset = htab->sgot->size;
1812 htab->sgot->size += GOT_ENTRY_SIZE;
1832 s = htab->sgot;
2052 s = htab->sgot;
[all …]
Delf64-x86-64.c465 asection *sgot; member
552 ret->sgot = NULL; in elf64_x86_64_link_hash_table_create()
580 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
582 if (!htab->sgot || !htab->sgotplt) in create_got_section()
607 if (!htab->sgot && !create_got_section (dynobj, info)) in elf64_x86_64_create_dynamic_sections()
909 if (htab->sgot == NULL) in elf64_x86_64_check_relocs()
1526 s = htab->sgot; in allocate_dynrelocs()
1760 s = htab->sgot; in elf64_x86_64_size_dynamic_sections()
1806 htab->tls_ld_got.offset = htab->sgot->size; in elf64_x86_64_size_dynamic_sections()
1807 htab->sgot->size += 2 * GOT_ENTRY_SIZE; in elf64_x86_64_size_dynamic_sections()
[all …]
Delf32-arm.c2229 asection *sgot; member
2315 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
2317 if (!htab->sgot || !htab->sgotplt) in create_got_section()
2343 if (!htab->sgot && !create_got_section (dynobj, info)) in elf32_arm_create_dynamic_sections()
2465 ret->sgot = NULL; in elf32_arm_link_hash_table_create()
4516 asection * sgot = NULL; in elf32_arm_final_link_relocate() local
4546 sgot = bfd_get_section_by_name (dynobj, ".got"); in elf32_arm_final_link_relocate()
5390 BFD_ASSERT (sgot != NULL); in elf32_arm_final_link_relocate()
5391 if (sgot == NULL) in elf32_arm_final_link_relocate()
5405 value -= sgot->output_section->vma; in elf32_arm_final_link_relocate()
[all …]
Dsunos.c1320 asection *sgot; in sunos_scan_std_relocs() local
1329 sgot = bfd_get_section_by_name (dynobj, ".got"); in sunos_scan_std_relocs()
1330 BFD_ASSERT (sgot != NULL); in sunos_scan_std_relocs()
1331 if (sgot->size == 0) in sunos_scan_std_relocs()
1332 sgot->size = BYTES_IN_WORD; in sunos_scan_std_relocs()
1410 asection *sgot = NULL; in sunos_scan_ext_relocs() local
1476 sgot = bfd_get_section_by_name (dynobj, ".got"); in sunos_scan_ext_relocs()
1478 BFD_ASSERT (splt != NULL && sgot != NULL && srel != NULL); in sunos_scan_ext_relocs()
1481 if (sgot->size == 0) in sunos_scan_ext_relocs()
1482 sgot->size = BYTES_IN_WORD; in sunos_scan_ext_relocs()
[all …]
Delfxx-mips.c2077 asection *sgot = bfd_get_section_by_name (abfd, ".got"); in mips_elf_got_section() local
2078 if (sgot == NULL in mips_elf_got_section()
2079 || (! maybe_excluded && (sgot->flags & SEC_EXCLUDE) != 0)) in mips_elf_got_section()
2081 return sgot; in mips_elf_got_section()
2091 asection *sgot; in mips_elf_got_info() local
2094 sgot = mips_elf_got_section (abfd, TRUE); in mips_elf_got_info()
2095 BFD_ASSERT (sgot != NULL); in mips_elf_got_info()
2096 BFD_ASSERT (mips_elf_section_data (sgot) != NULL); in mips_elf_got_info()
2097 g = mips_elf_section_data (sgot)->u.got_info; in mips_elf_got_info()
2101 *sgotp = (sgot->flags & SEC_EXCLUDE) == 0 ? sgot : NULL; in mips_elf_got_info()
[all …]
Delfxx-sparc.c888 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
889 BFD_ASSERT (htab->sgot != NULL); in create_got_section()
924 if (!htab->sgot && !create_got_section (dynobj, info)) in _bfd_sparc_elf_create_dynamic_sections()
1256 if (htab->sgot == NULL) in _bfd_sparc_elf_check_relocs()
1958 s = htab->sgot; in allocate_dynrelocs()
2188 s = htab->sgot; in _bfd_sparc_elf_size_dynamic_sections()
2212 htab->tls_ldm_got.offset = htab->sgot->size; in _bfd_sparc_elf_size_dynamic_sections()
2213 htab->sgot->size += (2 * SPARC_ELF_WORD_BYTES (htab)); in _bfd_sparc_elf_size_dynamic_sections()
2236 if (htab->sgot->size >= 0x1000 in _bfd_sparc_elf_size_dynamic_sections()
2250 || s == htab->sgot in _bfd_sparc_elf_size_dynamic_sections()
[all …]
Delf64-alpha.c3652 asection *sgot = alpha_elf_tdata (info.gotobj)->got; in elf64_alpha_relax_section() local
3653 info.gp = (sgot->output_section->vma in elf64_alpha_relax_section()
3654 + sgot->output_offset in elf64_alpha_relax_section()
4018 asection *sgot, *srel, *srelgot; in elf64_alpha_relocate_section() local
4058 sgot = alpha_elf_tdata (gotobj)->got; in elf64_alpha_relocate_section()
4062 gp = (sgot->output_section->vma in elf64_alpha_relocate_section()
4063 + sgot->output_offset in elf64_alpha_relocate_section()
4070 sgot = NULL; in elf64_alpha_relocate_section()
4242 BFD_ASSERT(sgot != NULL); in elf64_alpha_relocate_section()
4252 sgot->contents + gotent->got_offset); in elf64_alpha_relocate_section()
[all …]
Delfxx-sparc.h49 asection *sgot; member
DChangeLog-00011105 (struct elf_s390_link_hash_table): Add sgot, sgotplt, srelgot, splt,
3781 hplink->sgot is NULL before filling GOT. Check if hplink->splt
4092 * elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,
9055 * elf32-m68k.c (elf_m68k_gc_sweep_hook): Initialise 'sgot' and
DChangeLog-98993988 * elf32-ppc.c (ppc_elf_check_relocs): Init sgot to NULL. Create the
3990 (ppc_elf_relocate_section): Pull sgot and splt search to the start
DChangeLog-20061170 sh_entsize only when sgot was already initialized.
DChangeLog-02032615 (struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt,
11035 Check for and emit error if sgot is NULL at this point.
DChangeLog-96973792 R_MIPS_32 and R_MIPS_REL32. Set sgot and g as soon as possible.
/freebsd-12-stable/contrib/netbsd-tests/include/sys/
Dt_socket.c89 int s1, s2, sgot; in ATF_TC_BODY() local
165 sgot = rump_sys_accept(s1, (struct sockaddr *)&sun, &sl); in ATF_TC_BODY()
166 if (sgot == -1) in ATF_TC_BODY()
168 if (rump_sys_recvmsg(sgot, &msg, 0) == -1) in ATF_TC_BODY()