Home
last modified time | relevance | path

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

123

/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Delf32-m88k.c463 asection *sgot; local
475 sgot = NULL;
511 if (sgot == NULL)
513 sgot = bfd_get_section_by_name (dynobj, ".got");
514 BFD_ASSERT (sgot != NULL);
550 sgot->size += 4;
573 sgot->size += 4;
849 asection *sgot; local
860 sgot = bfd_get_section_by_name (dynobj, ".got");
890 sgot->size -= 4;
[all …]
Delf32-m68k.c580 asection *sgot; local
592 sgot = NULL;
636 if (sgot == NULL)
638 sgot = bfd_get_section_by_name (dynobj, ".got");
639 BFD_ASSERT (sgot != NULL);
675 sgot->size += 4;
698 sgot->size += 4;
981 asection *sgot; local
992 sgot = bfd_get_section_by_name (dynobj, ".got");
1026 sgot->size -= 4;
[all …]
Delf32-vax.c557 asection *sgot; in elf_vax_check_relocs() local
568 sgot = NULL; in elf_vax_check_relocs()
607 if (sgot == NULL) in elf_vax_check_relocs()
609 sgot = bfd_get_section_by_name (dynobj, ".got"); in elf_vax_check_relocs()
610 BFD_ASSERT (sgot != NULL); in elf_vax_check_relocs()
1341 asection *sgot; in elf_vax_instantiate_got_entries() local
1352 sgot = bfd_get_section_by_name (dynobj, ".got"); in elf_vax_instantiate_got_entries()
1373 sgot->size += 4; in elf_vax_instantiate_got_entries()
1398 asection *sgot; in elf_vax_relocate_section() local
1413 sgot = NULL; in elf_vax_relocate_section()
[all …]
Delf32-cris.c932 asection *sgot; local
947 sgot = NULL;
954 sgot = bfd_get_section_by_name (dynobj, ".got");
1184 sgot->contents + off);
1203 bfd_put_32 (output_bfd, relocation, sgot->contents + off);
1214 outrel.r_offset = (sgot->output_section->vma
1215 + sgot->output_offset
1228 relocation = sgot->output_offset + off;
1284 if (sgot == NULL)
1300 relocation -= sgot->output_section->vma;
[all …]
Delf64-sh64.c1433 asection *sgot; in sh_elf64_relocate_section() local
1444 sgot = NULL; in sh_elf64_relocate_section()
1823 if (sgot == NULL) in sh_elf64_relocate_section()
1825 sgot = bfd_get_section_by_name (dynobj, ".got"); in sh_elf64_relocate_section()
1826 BFD_ASSERT (sgot != NULL); in sh_elf64_relocate_section()
1867 sgot->contents + off); in sh_elf64_relocate_section()
1880 relocation = sgot->output_offset + off; in sh_elf64_relocate_section()
1911 bfd_put_64 (output_bfd, relocation, sgot->contents + off); in sh_elf64_relocate_section()
1922 outrel.r_offset = (sgot->output_section->vma in sh_elf64_relocate_section()
1923 + sgot->output_offset in sh_elf64_relocate_section()
[all …]
Delf32-m32r.c1504 asection *sgot; member
1583 ret->sgot = NULL; in m32r_elf_link_hash_table_create()
1607 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
1609 if (! htab->sgot || ! htab->sgotplt) in create_got_section()
1687 if (htab->sgot == NULL in m32r_elf_create_dynamic_sections()
2068 s = htab->sgot; in allocate_dynrelocs()
2276 s = htab->sgot; in m32r_elf_size_dynamic_sections()
2305 || s == htab->sgot in m32r_elf_size_dynamic_sections()
2456 asection *sgot, *splt, *sreloc; in m32r_elf_relocate_section() local
2462 sgot = htab->sgot; in m32r_elf_relocate_section()
[all …]
Delf32-sh.c3535 asection *sgot; member
3623 ret->sgot = NULL; in sh_elf_link_hash_table_create()
3648 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
3650 if (! htab->sgot || ! htab->sgotplt) in create_got_section()
3745 if (htab->sgot == NULL in sh_elf_create_dynamic_sections()
4088 s = htab->sgot; in allocate_dynrelocs()
4126 s = htab->sgot; in allocate_dynrelocs()
4334 s = htab->sgot; in sh_elf_size_dynamic_sections()
4357 htab->tls_ldm_got.offset = htab->sgot->size; in sh_elf_size_dynamic_sections()
4358 htab->sgot->size += 8; in sh_elf_size_dynamic_sections()
[all …]
Delf64-s390.c659 asection *sgot; member
734 ret->sgot = NULL;
761 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
763 if (!htab->sgot || !htab->sgotplt)
790 if (!htab->sgot && !create_got_section (dynobj, info))
1006 if (htab->sgot == NULL)
1812 h->got.offset = htab->sgot->size;
1813 htab->sgot->size += GOT_ENTRY_SIZE;
1833 s = htab->sgot;
2052 s = htab->sgot;
[all …]
Delf32-s390.c706 asection *sgot; member
781 ret->sgot = NULL;
808 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
810 if (!htab->sgot || !htab->sgotplt)
837 if (!htab->sgot && !create_got_section (dynobj, info))
1049 if (htab->sgot == NULL)
1839 h->got.offset = htab->sgot->size;
1840 htab->sgot->size += GOT_ENTRY_SIZE;
1860 s = htab->sgot;
2080 s = htab->sgot;
[all …]
Delf64-x86-64.c448 asection *sgot; member
535 ret->sgot = NULL; in elf64_x86_64_link_hash_table_create()
563 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
565 if (!htab->sgot || !htab->sgotplt) in create_got_section()
590 if (!htab->sgot && !create_got_section (dynobj, info)) in elf64_x86_64_create_dynamic_sections()
889 if (htab->sgot == NULL) in elf64_x86_64_check_relocs()
1548 s = htab->sgot; in allocate_dynrelocs()
1782 s = htab->sgot; in elf64_x86_64_size_dynamic_sections()
1828 htab->tls_ld_got.offset = htab->sgot->size; in elf64_x86_64_size_dynamic_sections()
1829 htab->sgot->size += 2 * GOT_ENTRY_SIZE; in elf64_x86_64_size_dynamic_sections()
[all …]
Delf-m10300.c672 asection * sgot; local
676 sgot = NULL;
751 if (sgot == NULL)
753 sgot = bfd_get_section_by_name (dynobj, ".got");
754 BFD_ASSERT (sgot != NULL);
783 h->got.offset = sgot->size;
818 local_got_offsets[r_symndx] = sgot->size;
827 sgot->size += 4;
981 asection * sgot; local
988 sgot = NULL;
[all …]
Delf32-i386.c652 asection *sgot; member
744 ret->sgot = NULL; in elf_i386_link_hash_table_create()
774 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
776 if (!htab->sgot || !htab->sgotplt) in create_got_section()
801 if (!htab->sgot && !create_got_section (dynobj, info)) in elf_i386_create_dynamic_sections()
1117 if (htab->sgot == NULL) in elf_i386_check_relocs()
1733 s = htab->sgot; in allocate_dynrelocs()
1978 s = htab->sgot; in elf_i386_size_dynamic_sections()
2024 htab->tls_ldm_got.offset = htab->sgot->size; in elf_i386_size_dynamic_sections()
2025 htab->sgot->size += 8; in elf_i386_size_dynamic_sections()
[all …]
/openbsd/src/gnu/usr.bin/binutils/bfd/
Delf32-m88k.c467 asection *sgot; local
479 sgot = NULL;
510 if (sgot == NULL)
512 sgot = bfd_get_section_by_name (dynobj, ".got");
513 BFD_ASSERT (sgot != NULL);
549 sgot->_raw_size += 4;
572 sgot->_raw_size += 4;
847 asection *sgot; local
858 sgot = bfd_get_section_by_name (dynobj, ".got");
881 sgot->_raw_size -= 4;
[all …]
Delf32-m68k.c426 asection *sgot; local
438 sgot = NULL;
477 if (sgot == NULL)
479 sgot = bfd_get_section_by_name (dynobj, ".got");
480 BFD_ASSERT (sgot != NULL);
516 sgot->_raw_size += 4;
539 sgot->_raw_size += 4;
821 asection *sgot; local
832 sgot = bfd_get_section_by_name (dynobj, ".got");
859 sgot->_raw_size -= 4;
[all …]
Delf32-vax.c577 asection *sgot; local
588 sgot = NULL;
622 if (sgot == NULL)
624 sgot = bfd_get_section_by_name (dynobj, ".got");
625 BFD_ASSERT (sgot != NULL);
1381 asection *sgot; local
1392 sgot = bfd_get_section_by_name (dynobj, ".got");
1413 sgot->_raw_size += 4;
1440 asection *sgot; local
1455 sgot = NULL;
[all …]
Delf32-cris.c796 asection *sgot; local
811 sgot = NULL;
818 sgot = bfd_get_section_by_name (dynobj, ".got");
1053 sgot->contents + off);
1072 bfd_put_32 (output_bfd, relocation, sgot->contents + off);
1083 outrel.r_offset = (sgot->output_section->vma
1084 + sgot->output_offset
1097 relocation = sgot->output_offset + off;
1150 if (sgot == NULL)
1166 relocation -= sgot->output_section->vma;
[all …]
Delf64-sh64.c1492 asection *sgot; in sh_elf64_relocate_section() local
1503 sgot = NULL; in sh_elf64_relocate_section()
1885 if (sgot == NULL) in sh_elf64_relocate_section()
1887 sgot = bfd_get_section_by_name (dynobj, ".got"); in sh_elf64_relocate_section()
1888 BFD_ASSERT (sgot != NULL); in sh_elf64_relocate_section()
1929 sgot->contents + off); in sh_elf64_relocate_section()
1942 relocation = sgot->output_offset + off; in sh_elf64_relocate_section()
1973 bfd_put_64 (output_bfd, relocation, sgot->contents + off); in sh_elf64_relocate_section()
1984 outrel.r_offset = (sgot->output_section->vma in sh_elf64_relocate_section()
1985 + sgot->output_offset in sh_elf64_relocate_section()
[all …]
Delf32-sh.c3728 asection *sgot; member
3815 ret->sgot = NULL; in sh_elf_link_hash_table_create()
3840 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
3842 if (! htab->sgot || ! htab->sgotplt) in create_got_section()
3939 if (htab->sgot == NULL in sh_elf_create_dynamic_sections()
4280 s = htab->sgot; in allocate_dynrelocs()
4318 s = htab->sgot; in allocate_dynrelocs()
4514 s = htab->sgot; in sh_elf_size_dynamic_sections()
4537 htab->tls_ldm_got.offset = htab->sgot->_raw_size; in sh_elf_size_dynamic_sections()
4538 htab->sgot->_raw_size += 8; in sh_elf_size_dynamic_sections()
[all …]
Delf64-x86-64.c361 asection *sgot; member
431 ret->sgot = NULL; in elf64_x86_64_link_hash_table_create()
456 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
458 if (!htab->sgot || !htab->sgotplt) in create_got_section()
482 if (!htab->sgot && !create_got_section (dynobj, info)) in elf64_x86_64_create_dynamic_sections()
751 if (htab->sgot == NULL) in elf64_x86_64_check_relocs()
1361 s = htab->sgot; in allocate_dynrelocs()
1576 s = htab->sgot; in elf64_x86_64_size_dynamic_sections()
1600 htab->tls_ld_got.offset = htab->sgot->_raw_size; in elf64_x86_64_size_dynamic_sections()
1601 htab->sgot->_raw_size += 2 * GOT_ENTRY_SIZE; in elf64_x86_64_size_dynamic_sections()
[all …]
Delf64-s390.c652 asection *sgot; member
726 ret->sgot = NULL;
753 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
755 if (!htab->sgot || !htab->sgotplt)
781 if (!htab->sgot && !create_got_section (dynobj, info))
994 if (htab->sgot == NULL)
1791 h->got.offset = htab->sgot->_raw_size;
1792 htab->sgot->_raw_size += GOT_ENTRY_SIZE;
1812 s = htab->sgot;
2022 s = htab->sgot;
[all …]
Delf32-i386.c591 asection *sgot; member
662 ret->sgot = NULL; in elf_i386_link_hash_table_create()
687 htab->sgot = bfd_get_section_by_name (dynobj, ".got"); in create_got_section()
689 if (!htab->sgot || !htab->sgotplt) in create_got_section()
713 if (!htab->sgot && !create_got_section (dynobj, info)) in elf_i386_create_dynamic_sections()
993 if (htab->sgot == NULL) in elf_i386_check_relocs()
1564 s = htab->sgot; in allocate_dynrelocs()
1782 s = htab->sgot; in elf_i386_size_dynamic_sections()
1812 htab->tls_ldm_got.offset = htab->sgot->_raw_size; in elf_i386_size_dynamic_sections()
1813 htab->sgot->_raw_size += 8; in elf_i386_size_dynamic_sections()
[all …]
Delf32-s390.c699 asection *sgot; member
773 ret->sgot = NULL;
800 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
802 if (!htab->sgot || !htab->sgotplt)
828 if (!htab->sgot && !create_got_section (dynobj, info))
1038 if (htab->sgot == NULL)
1820 h->got.offset = htab->sgot->_raw_size;
1821 htab->sgot->_raw_size += GOT_ENTRY_SIZE;
1841 s = htab->sgot;
2052 s = htab->sgot;
[all …]
Delf32-m32r.c1560 asection *sgot; member
1647 ret->sgot = NULL;
1674 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
1676 if (! htab->sgot || ! htab->sgotplt)
1757 if (htab->sgot == NULL
2160 s = htab->sgot;
2351 s = htab->sgot;
2380 || s == htab->sgot
2530 asection *sgot, *splt, *sreloc; local
2535 sgot = htab->sgot;
[all …]
Delf32-arm.h251 asection *sgot; member
307 htab->sgot = bfd_get_section_by_name (dynobj, ".got");
309 if (!htab->sgot || !htab->sgotplt)
335 if (!htab->sgot && !create_got_section (dynobj, info))
422 ret->sgot = NULL;
1238 asection * sgot = NULL; local
1262 sgot = bfd_get_section_by_name (dynobj, ".got");
1757 BFD_ASSERT (sgot != NULL);
1758 if (sgot == NULL)
1772 value -= sgot->output_section->vma;
[all …]
Delf-m10300.c714 asection * sgot; local
718 sgot = NULL;
788 if (sgot == NULL)
790 sgot = bfd_get_section_by_name (dynobj, ".got");
791 BFD_ASSERT (sgot != NULL);
820 h->got.offset = sgot->_raw_size;
855 local_got_offsets[r_symndx] = sgot->_raw_size;
864 sgot->_raw_size += 4;
1067 asection * sgot; local
1074 sgot = NULL;
[all …]

123