Home
last modified time | relevance | path

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

123

/toolchain/binutils/binutils-2.25/ld/testsuite/ld-aarch64/
Difunc-9.d2 #error: .*dynamic STT_GNU_IFUNC symbol `foo' with pointer equality in `.*.o' can not be used when m…
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-ifunc/
Difunc-9-x86.d2 #error: .*dynamic STT_GNU_IFUNC symbol `foo' with pointer equality in `.*.o' can not be used when m…
/toolchain/binutils/binutils-2.25/bfd/
Delf-s390-common.c30 return h->type == STT_GNU_IFUNC || eh->ifunc_resolver_address != 0; in s390_is_ifunc_symbol_p()
237 if ((ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in elf_s390_add_symbol_hook()
Delf32-i386.c1296 || h->type == STT_GNU_IFUNC)) in elf_i386_tls_transition()
1466 if (ELF32_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in elf_i386_check_relocs()
1473 h->type = STT_GNU_IFUNC; in elf_i386_check_relocs()
1900 && ELF32_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in elf_i386_gc_sweep_hook()
1949 if (h->type == STT_GNU_IFUNC) in elf_i386_gc_sweep_hook()
1966 && (h == NULL || h->type != STT_GNU_IFUNC)) in elf_i386_gc_sweep_hook()
1979 if (h != NULL && h->type == STT_GNU_IFUNC) in elf_i386_gc_sweep_hook()
2012 if (h->type == STT_GNU_IFUNC) in elf_i386_adjust_dynamic_symbol()
2196 if (h->type == STT_GNU_IFUNC in elf_i386_allocate_dynrelocs()
2465 if (h->type != STT_GNU_IFUNC in elf_i386_allocate_local_dynrelocs()
[all …]
DChangeLog-2009344 STT_GNU_IFUNC symbol when stripping.
1253 info for STT_GNU_IFUNC.
1581 STT_GNU_IFUNC symbol for relocatable link.
1643 (ppc_elf_check_relocs): Handle STT_GNU_IFUNC symbols.
1652 (ppc_elf_finish_dynamic_symbol): ..here. Handle STT_GNU_IFUNC.
1670 (ppc64_elf_check_relocs): Handle STT_GNU_IFUNC.
2291 local symbol for unhandled relocation against STT_GNU_IFUNC
2313 (elf_i386_check_relocs): Handle local STT_GNU_IFUNC symbols.
2333 (elf64_x86_64_check_relocs): Handle local STT_GNU_IFUNC
2546 relocation for non-GOT reference of STT_GNU_IFUNC symbol in
[all …]
Delfxx-sparc.c1430 if (ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in _bfd_sparc_elf_check_relocs()
1438 h->type = STT_GNU_IFUNC; in _bfd_sparc_elf_check_relocs()
1459 if (h && h->type == STT_GNU_IFUNC) in _bfd_sparc_elf_check_relocs()
1780 && h->type == STT_GNU_IFUNC)) in _bfd_sparc_elf_check_relocs()
2101 || h->type == STT_GNU_IFUNC in _bfd_sparc_elf_adjust_dynamic_symbol()
2115 || h->type == STT_GNU_IFUNC in _bfd_sparc_elf_adjust_dynamic_symbol()
2123 || (h->type != STT_GNU_IFUNC in _bfd_sparc_elf_adjust_dynamic_symbol()
2237 || (h->type == STT_GNU_IFUNC in allocate_dynrelocs()
2251 || (h->type == STT_GNU_IFUNC in allocate_dynrelocs()
2368 || h->type == STT_GNU_IFUNC) in allocate_dynrelocs()
[all …]
Delf64-x86-64.c1398 || h->type == STT_GNU_IFUNC)) in elf_x86_64_tls_transition()
1561 if (ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in elf_x86_64_check_relocs()
1569 h->type = STT_GNU_IFUNC; in elf_x86_64_check_relocs()
2126 && ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in elf_x86_64_gc_sweep_hook()
2178 if (h->type == STT_GNU_IFUNC) in elf_x86_64_gc_sweep_hook()
2204 && (h == NULL || h->type != STT_GNU_IFUNC)) in elf_x86_64_gc_sweep_hook()
2242 if (h->type == STT_GNU_IFUNC) in elf_x86_64_adjust_dynamic_symbol()
2426 if (h->type == STT_GNU_IFUNC in elf_x86_64_allocate_dynrelocs()
2698 if (h->type != STT_GNU_IFUNC in elf_x86_64_allocate_local_dynrelocs()
2718 if (h->forced_local && h->type == STT_GNU_IFUNC) in elf_x86_64_readonly_dynrelocs()
[all …]
DChangeLog-2013254 Handle STT_GNU_IFUNC symbols correctly in static links.
692 (elfNN_aarch64_link_hash_table_create): Initialize local STT_GNU_IFUNC
694 (elfNN_aarch64_hash_table_free): Free local STT_GNU_IFUNC symbol hash.
696 for handling STT_GNU_IFUNC symbols.
698 references to STT_GNU_IFUNC symbols.
700 STT_GNU_IFUNC symbols.
701 (elfNN_aarch64_check_relocs): Add support for handling STT_GNU_IFUNC
705 (elfNN_aarch64_allocate_dynrelocs): Handle STT_GNU_IFUNC symbols.
712 Add support for creating .iplt entries for STT_GNU_IFUNC symbols.
714 STT_GNU_IFUNC symbols and .iplt.
[all …]
Delf32-sparc.c183 if ((ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in elf32_sparc_add_symbol_hook()
Delf32-ppc.c3639 if ((ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in ppc_elf_add_symbol_hook()
3950 if (ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in ppc_elf_check_relocs()
4274 if (h != NULL && h->type == STT_GNU_IFUNC) in ppc_elf_check_relocs()
4504 is_ifunc = ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC; in ppc_elf_check_relocs()
5475 || h->type == STT_GNU_IFUNC in ppc_elf_adjust_dynamic_symbol()
5483 || h->type == STT_GNU_IFUNC in ppc_elf_adjust_dynamic_symbol()
5493 || (h->type != STT_GNU_IFUNC in ppc_elf_adjust_dynamic_symbol()
5519 && h->type != STT_GNU_IFUNC in ppc_elf_adjust_dynamic_symbol()
5539 && h->type != STT_GNU_IFUNC in ppc_elf_adjust_dynamic_symbol()
5738 || h->type == STT_GNU_IFUNC) in allocate_dynrelocs()
[all …]
Delf64-ppc.c4810 if ((ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC in ppc64_elf_add_symbol_hook()
4821 if (!(ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC in ppc64_elf_add_symbol_hook()
5271 if (h->type == STT_GNU_IFUNC) in ppc64_elf_check_relocs()
5284 if (ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in ppc64_elf_check_relocs()
5822 is_ifunc = ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC; in ppc64_elf_check_relocs()
6416 if (h->type == STT_GNU_IFUNC) in ppc64_elf_gc_sweep_hook()
6991 || h->type == STT_GNU_IFUNC in ppc64_elf_adjust_dynamic_symbol()
7001 || (h->type != STT_GNU_IFUNC in ppc64_elf_adjust_dynamic_symbol()
7017 && h->type != STT_GNU_IFUNC in ppc64_elf_adjust_dynamic_symbol()
7035 && h->type != STT_GNU_IFUNC in ppc64_elf_adjust_dynamic_symbol()
[all …]
Delfnn-aarch64.c4446 && h->type == STT_GNU_IFUNC in elfNN_aarch64_final_link_relocate()
5107 && ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC) in elfNN_aarch64_relocate_section()
5677 && ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in elfNN_aarch64_gc_sweep_hook()
5731 if (h->type == STT_GNU_IFUNC) in elfNN_aarch64_gc_sweep_hook()
5794 if (h->type == STT_FUNC || h->type == STT_GNU_IFUNC || h->needs_plt) in elfNN_aarch64_adjust_dynamic_symbol()
5797 || (h->type != STT_GNU_IFUNC in elfNN_aarch64_adjust_dynamic_symbol()
6015 if (ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in elfNN_aarch64_check_relocs()
6023 h->type = STT_GNU_IFUNC; in elfNN_aarch64_check_relocs()
6922 if (h->type == STT_GNU_IFUNC in elfNN_aarch64_allocate_dynrelocs()
7214 if (h->type == STT_GNU_IFUNC in elfNN_aarch64_allocate_ifunc_dynrelocs()
[all …]
Delfxx-aarch64.c463 if ((ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC in _bfd_aarch64_elf_add_symbol_hook()
DChangeLog-2011476 * elf32-hppa.c (elf32_hppa_hide_symbol): Make STT_GNU_IFUNC symbol
2913 to get PLT information. Assert that all STT_GNU_IFUNC references
2929 STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change
2934 of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC
2949 STT_GNU_IFUNC functions as well as global functions. Count
2952 (elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols.
2953 Don't remove STT_GNU_IFUNC PLTs unless all references have been
2955 (allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT
2963 and dynamic relocations for local STT_GNU_IFUNC symbols.
2970 STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations
[all …]
Delf32-arm.c3222 if (ELF32_ST_TYPE (isym->st_info) == STT_GNU_IFUNC) in elf32_arm_get_local_dynreloc_list()
3712 BFD_ASSERT (st_type != STT_GNU_IFUNC); in arm_type_of_stub()
8497 if (dynreloc_st_type == STT_GNU_IFUNC) in elf32_arm_final_link_relocate()
9348 if (dynreloc_st_type == STT_GNU_IFUNC in elf32_arm_final_link_relocate()
9396 if (dynreloc_st_type == STT_GNU_IFUNC) in elf32_arm_final_link_relocate()
9447 if (info->shared || dynreloc_st_type == STT_GNU_IFUNC) in elf32_arm_final_link_relocate()
9455 if (dynreloc_st_type == STT_GNU_IFUNC) in elf32_arm_final_link_relocate()
12929 && (h != NULL || ELF32_ST_TYPE (isym->st_info) == STT_GNU_IFUNC)) in elf32_arm_check_relocs()
13238 || h->type == STT_GNU_IFUNC in elf32_arm_adjust_dynamic_symbol()
13249 if (h->type == STT_FUNC || h->type == STT_GNU_IFUNC || h->needs_plt) in elf32_arm_adjust_dynamic_symbol()
[all …]
DChangeLog-20101480 garbage collection against STT_GNU_IFUNC symbols.
1485 (elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols.
1490 (elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols.
2848 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): When STT_GNU_IFUNC and
2850 (allocate_dynrelocs): Only force output of STT_GNU_IFUNC plt entries
2888 STT_GNU_IFUNC on large common symbol.
2946 local symbol references which are not STT_GNU_IFUNC. Handle
3038 has_ifunc_symbols if STT_GNU_IFUNC.
3054 and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols
3056 a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count
[all …]
/toolchain/binutils/binutils-2.25/gold/
Di386.cc750 return (gsym->type() != elfcpp::STT_GNU_IFUNC in can_convert_mov_to_lea()
1075 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_entry()
1213 if (gsym->type() == elfcpp::STT_GNU_IFUNC in address_for_global()
1777 if (lsym.get_st_type() == elfcpp::STT_GNU_IFUNC in local()
1868 && lsym.get_st_type() != elfcpp::STT_GNU_IFUNC) in local()
1884 if (lsym.get_st_type() == elfcpp::STT_GNU_IFUNC) in local()
2161 if (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
2197 && gsym->type() == elfcpp::STT_GNU_IFUNC in global()
2291 if (gsym->type() == elfcpp::STT_GNU_IFUNC) in global()
2319 || (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
[all …]
Dtilegx.cc2008 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_entry()
2133 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_relocation()
2196 if (gsym->type() == elfcpp::STT_GNU_IFUNC in address_for_global()
2752 || gsym->type() == elfcpp::STT_GNU_IFUNC) in reserve_global_got_entry()
3233 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
3716 if (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
3769 && gsym->type() == elfcpp::STT_GNU_IFUNC in global()
3867 if (gsym->type() == elfcpp::STT_GNU_IFUNC) in global()
3895 || (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
3905 if (gsym->type() != elfcpp::STT_GNU_IFUNC) in global()
Dx86_64.cc1257 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_entry()
1356 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_relocation()
1439 if (gsym->type() == elfcpp::STT_GNU_IFUNC in address_for_global()
1952 || gsym->type() == elfcpp::STT_GNU_IFUNC) in reserve_global_got_entry()
2353 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
2757 if (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
2796 && gsym->type() == elfcpp::STT_GNU_IFUNC in global()
2879 if (gsym->type() == elfcpp::STT_GNU_IFUNC) in global()
2907 || (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
2917 if (gsym->type() != elfcpp::STT_GNU_IFUNC) in global()
Dtarget-reloc.h350 else if (gsym->type() == elfcpp::STT_GNU_IFUNC) in relocate_section()
460 else if (gsym->type() == elfcpp::STT_GNU_IFUNC) in apply_relocation()
Dsymtab.h228 || this->type_ == elfcpp::STT_GNU_IFUNC); in is_func()
635 if (this->type() == elfcpp::STT_GNU_IFUNC) in needs_plt_entry()
739 if (this->type() == elfcpp::STT_GNU_IFUNC) in use_plt_offset()
Dsparc.cc1480 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_entry()
1620 if (gsym->type() == elfcpp::STT_GNU_IFUNC in address_for_global()
2253 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
2571 bool is_ifunc = gsym->type() == elfcpp::STT_GNU_IFUNC; in global()
2735 && gsym->type() == elfcpp::STT_GNU_IFUNC in global()
2810 if (gsym->type() == elfcpp::STT_GNU_IFUNC) in global()
2819 bool is_ifunc = gsym->type() == elfcpp::STT_GNU_IFUNC; in global()
2839 || (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
Daarch64.cc3913 else if (gsym->type() == elfcpp::STT_GNU_IFUNC) in scan_reloc_section_for_stubs()
4320 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_entry()
4390 if (gsym->type() == elfcpp::STT_GNU_IFUNC in add_relocation()
4474 if (gsym->type() == elfcpp::STT_GNU_IFUNC in address_for_global()
5956 bool is_ifunc = lsym.get_st_type() == elfcpp::STT_GNU_IFUNC; in local()
6200 if (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
6237 && gsym->type() == elfcpp::STT_GNU_IFUNC in global()
6328 if (gsym->type() == elfcpp::STT_GNU_IFUNC) in global()
6353 || (gsym->type() == elfcpp::STT_GNU_IFUNC in global()
6363 if (gsym->type() != elfcpp::STT_GNU_IFUNC) in global()
/toolchain/binutils/binutils-2.25/elfcpp/
DChangeLog182 * elfcpp.h (STT_GNU_IFUNC): Add comment.
308 * elfcpp.h (enum STT): Add STT_GNU_IFUNC.
/toolchain/binutils/binutils-2.25/include/elf/
Dcommon.h683 #define STT_GNU_IFUNC 10 /* Symbol is an indirect code object */ macro

123