Lines Matching refs:Scan

19 	* aarch64.cc (Target_aarch64::Scan::local): Add support for
90 * x86_64.cc (Target_x86_64::Scan::global): Allow IE-to-LE optimization
441 * x86_64.cc (Target_x86_64<size>::Scan::global): Don't make PLT
491 (Target_aarch64::Scan::local_reloc_may_be_function_pointer): Update
493 (Target_aarch64::Scan::local): Add codes to handle STT_GNU_IFUNC
496 (Target_aarch64::Scan::global): Add codes to handle STT_GNU_IFUNC
671 (Target_aarch64::Scan::local): Correct format. Move r_sym, got to
675 (Target_aarch64::Scan::global): Move arp to front. Do copy_reloc when
759 (Target_aarch64::Scan::local): Add code handling new reloc types.
760 (Target_aarch64::Scan::global): Add code handling new reloc types.
799 (Target_aarch64::Scan::get_reference_flags): Remove method.
800 (Target_aarch64::Scan::local): Implement to support a few relocations.
801 (Target_aarch64::Scan::global): Implement to support a few relocations.
953 * x86_64.cc (Target_x86_64<size>::Scan::global): Add check for no
1123 * powerpc.cc (Target_powerpc::Scan::local, global): Support
1256 * x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
1259 (Target_x86_64<size>::Scan::local): Likewise.
1260 (Target_x86_64<size>::Scan::global): Likewise.
1264 (Target_x86_64<size>::Scan::check_non_pic(): Handle
1295 (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Add target
1297 (Target_powerpc::Scan::local, global): Restrict opd lookup to
1361 (Target_powerpc::Scan::get_reference_flags): Add target param.
1365 (Target_powerpc::Scan::global): Use Symbol::needs_dynamic_reloc.
1494 * powerpc.cc (Target_powerpc::Scan::check_non_pic): Handle new relocs.
1495 (Target_powerpc::Scan::global, local): Likewise.
1582 * x86_64.cc (Target_x86_64<size>::Scan::global): Use relative
1724 and symtab_size. Scan over section names. Find relocation
2058 * powerpc.cc (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Make
2065 (Target_powerpc::Scan::local, global): Adjust reloc_needs_plt_for_ifunc
2081 (Target_powerpc::Scan::local_reloc_may_be_function_pointer): Return
2083 (Target_powerpc::Scan::global_reloc_may_be_function_pointer): Likewise.
2509 (class Relocate, class Scan): Inherit Track_tls.
2510 (Target_powerpc::Scan::local, global): Track tls optimization
2523 (Target_powerpc::Scan::local, global): Call set_has_small_toc_reloc.
2639 (Target_powerpc::Scan::local, global): Save interesting branch
2650 * powerpc.c (Target_powerpc::Scan::global): Don't emit relative
2859 * powerpc.cc (Target_powerpc::Scan::local, global): Always emit
2917 (Target_powerpc::Scan::reloc_needs_plt_for_ifunc): Accept any
2919 (Target_powerpc::Scan::local): Correct ifunc handling. Allow
2921 (Target_powerpc::Scan::global): Correct ifunc handling.
2966 (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
2967 (Target_powerpc::Scan::local, global): Handle ifunc syms.
3001 * arm.cc, * i386.cc, * sparc.cc, * x86_64.cc (Target_*::Scan::local):
3003 * powerpc (Target_powerpc::Scan::local): Likewise. Use
3006 (Target_powerpc::Scan::global): Similarly detect and handle
3055 * arm.cc (Target_arm::Scan::local): Update add_local_pair_with_rel
3057 * i386.cc (Target_i386::Scan::local): Likewise.
3058 * sparc.cc (Target_sparc::Scan::local): Likewise.
3059 * x86_64.cc (Target_x86_64::Scan::local): Likewise.
3062 (Target_powerpc::Scan::local): Correct TLS relocations and got
3064 (Target_powerpc::Scan::global): Don't emit unnecessary
3143 (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
3144 (Target_powerpc::Scan::local): Handle REL64.
3145 (Target_powerpc::Scan::global): Likewise, and dynamic relocs
3171 (Target_powerpc::Scan::local, global): Handle R_POWERPC_TLS. Ensure
3212 (Target_powerpc::Scan::get_reference_flags): Handle more relocs.
3213 (Target_powerpc::Scan::local, global): Emit relative dynamic reloc
3324 (Target_powerpc::Scan::local): Handle more relocs.
3335 * x86_64.cc (Target_x86_64::Scan::global): Fix erroneous call to
3374 (Target_powerpc::Scan::local): Ignore R_PPC64_TOCSAVE.
3389 (Target_powerpc::Scan::global): Nor on make_plt_entry call.
3571 * x86_64.cc (Target_x86_64::Scan::local): For x32, generate
3862 (Target_sparc::Scan::local): Do not emit a GOT entry for GOTDATA
3864 (Target_sparc::Scan::local): Likewise if the global symbol is not
3905 (Target_sparc::Scan::get_reference_flags): Add R_SPARC_IRELATIVE and
3907 (Target_sparc::Scan::check_non_pic): Likewise.
3908 (Target_sparc::Scan::local): Handle IFUNC symbols.
3909 (Target_sparc::Scan::local): Likewise.
3921 * powerpc.cc (Target_powerpc::Scan::global): Adjust add_global_relative
3923 * sparc.cc (Target_sparc::Scan::global): Likewise.
3924 * x86_64.cc (Target_x86_64::Scan::global): Likewise.
3940 (Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
3941 (Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
3943 (Target_sparc::Scan::local): Likewise.
3944 (Target_sparc::Scan::global): Likewise.
4114 * gold/arm.cc (Target_arm::Scan::global): Generate R_ARM_GLOB_DAT
4207 * x86_64.cc (Scan::global): Support x32 IFUNC function pointer.
4246 * x86_64.cc (Scan::check_non_pic): Allow R_X86_64_32 for x32.
4247 (Scan::local): Use R_X86_64_RELATIVE relocation for R_X86_64_32
4597 * x86_64.cc (Target_x86_64::Scan::local): Check for IFUNC when
4920 * i386.cc (Target_i386::Scan::global): For a GOT reloc, use a
4923 * x86_64.cc (Target_x86_64::Scan::global): Likewise.
5031 (Target_i386::Scan::global): Use IRELATIVE GOT for IRELATIVE
5077 (Target_x86_64::Scan::global): Use IRELATIVE GOT for IRELATIVE
5623 * x86_64.cc (Target_x86_64::Scan::check_non_pic): Add gsym
7117 * x86_64.cc (Target_x86_64::Scan::check_non_pic): Give an error
7180 * arm.cc (Target_arm::Scan::get_reference_flags): Treat R_ARM_PREL31
7263 * arm.cc (Target_arm::Scan::get_reference_flags): New function.
7264 (Target_arm::Scan::global): Use it.
7265 (Target_arm::Scan::scan_reloc_for_stub): Likewise.
7271 * i386.cc (Target_i386::Scan::get_reference_flags): New function.
7272 (Target_i386::Scan::reloc_needs_plt_for_ifunc): Use it.
7273 (Target_i386::Scan::global): Likewise.
7279 * powerpc.cc (Target_powerpc::Scan::get_reference_flags): New function.
7280 (Target_powerpc::Scan::global): Use it.
7281 (Target_powerpc::Scan::scan_reloc_for_stub): Likewise.
7283 * sparc.cc (Target_sparc::Scan::get_reference_flags): New function.
7284 (Target_sparc::Scan::global): Use it.
7285 (Target_sparc::Scan::scan_reloc_for_stub): Likewise.
7287 * x86_64.cc (Target_x86_64::Scan::get_reference_flags): New function.
7288 (Target_x86_64::Scan::reloc_needs_plt_for_ifunc): Use it.
7289 (Target_x86_64::Scan::global): Likewise.
7476 * arm.cc (Target_arm::Scan::local): Report the unsupported reloc
7478 (Target_arm::Scan::global): Likewise.
7874 (Target_i386::Scan::reloc_needs_iplt_for_ifunc): New function.
7875 (Target_i386::Scan::local): Handle IFUNC symbols. Add
7877 (Target_i386::Scan::global): Likewise.
7892 (Target_x86_64::Scan::check_non_pic): Add R_X86_64_IRELATIVE to
7894 (Target_x86_64::Scan::reloc_needs_iplt_for_ifunc): New function.
7895 (Target_x86_64::Scan::local): Handle IFUNC symbols. Add
7897 (Target_x86_64::Scan::global): Likewise.
8228 * x86_64.cc (Target_x86_64::Scan::local): Use
8231 (Target_x86_64::Scan::global): Likewise.
8388 (Target_i386::Scan::local): Use TLSDESC GOT for unoptimized
8390 (Target_i386::Scan::global): Likewise.
8398 (Target_x86_64::Scan::local): Use TLSDESC GOT for unoptimized
8400 (Target_x86_64::Scan::global): Likewise.
8614 (Target_arm::Scan::local_reloc_may_be_function_pointer,
8615 Target_arm::Scan::global_reloc_may_be_function_pointer): Implement
8617 (Target_arm::Scan::possible_function_pointer_reloc): New method.
9094 * x86_64.cc (Target_x86_64::Scan::possible_function_pointer_reloc):
9474 * sparc.cc (Target_sparc::Scan::local): Accept R_SPARC_WPLT30.
9510 (Scan::possible_function_pointer_reloc): New function.
9511 (Scan::local_reloc_may_be_function_pointer): Change to call
9513 (Scan::global_reloc_may_be_function_pointer): Ditto.
9643 (Target_arm::Scan::local): Ditto.
9644 (Target_arm::Scan::global): Ditto.
9736 (Target_arm::Scan::local, Target::Scan::global,
9752 (Target_arm::Scan::check_non_pic): Report name of offending relocation
9754 (Target_arm::Scan::global): Treat any reference to the symbol
9759 * arm.cc (Scan::local_reloc_may_be_function_pointer): New function.
9760 (Scan::global_reloc_may_be_function_pointer): New function.
9761 * sparc.cc (Scan::local_reloc_may_be_function_pointer): New function.
9762 (Scan::global_reloc_may_be_function_pointer): New function.
9763 * powerpc.cc (Scan::local_reloc_may_be_function_pointer): New function.
9764 (Scan::global_reloc_may_be_function_pointer): New function.
9765 * i386.cc (Scan::local_reloc_may_be_function_pointer): New function.
9766 (Scan::global_reloc_may_be_function_pointer): New function.
9767 * x86_64.cc (Scan::local_reloc_may_be_function_pointer): New function.
9768 (Scan::global_reloc_may_be_function_pointer): New function.
9769 (Scan::possible_function_pointer_reloc): New function.
9771 * gc.h (gc_process_relocs): Scan relocation types to determine if
9815 * sparc.cc (Target_sparc::Scan::local): Use
9817 (Target_sparc::Scan::global): Use ->add_symbolless_global_addend as
9823 * arm.cc (Target_arm::Scan::local): Fix bugs in relocation handling.
9824 (Target_arm::Scan::global): Ditto. Also remove a comment before the
9950 * sparc.cc (Target_sparc::Scan::local): Do not emit relocs other than
9952 (Target_sparc::Scan::global): Likewise for ->add_global_relative().
9993 * sparc.cc (Target_sparc::Scan::local): Handle R_SPARC_GOTDATA_OP*
9995 (Target_sparc::Scan::local): Likewise.
10110 (Target_arm::Scan::local): Handle the relocations.
10111 (Target_arm::Scan::global): Likewise.
10117 * arm.cc (Target_arm::Scan::global): General PLTs for the same set
10165 (Target_arm::Scan::local): Handle MOVW_BREL/MOVT_BREL
10167 (Target_arm::Scan::global): Likewise.
10183 (Target_arm::Scan::local): Handle the ARM group relocations.
10184 (Target_arm::Scan::global): Likewise.
10335 (Target_arm::Scan::local): Likewise.
10336 (Target_arm::Scan::global): Likewise.
10356 (Target_arm::Scan::local): Handle R_ARM_THM_JUMP6, R_ARM_THM_JUMP8,
10358 (Target_arm::Scan::global): Likewise.
10368 (Target_arm::Scan::local): Handle R_ARM_THM_JUMP24, R_ARM_THM_JUMP19.
10369 (Target_arm::Scan::global): R_ARM_THM_JUMP19.
10644 (Target_i386::Scan::local): Rewrite R_386_TLS_GOTDESC handling.
10645 (Target_i386::Scan::global): For R_386_TLS_GOTDESC put
10659 (Target_x86_64::Scan::local): Rewrite R_X86_64_GOTPC32_TLSDESC
10661 (Target_x86_64::Scan::global): For R_X86_64_GOTPC32_TLSDESC put
11361 * i386.cc (Target_i386::Scan::globa): Use is_func instead of
11364 * x86_64.cc (Target_x86_64::Scan::global): Likewise.
11399 (Target_arm::Scan::global): Issue an error if a symbol would need a
11516 (Target_arm::Scan::local, Target_arm::Scan::global,
11534 (Target_arm::Scan::local, Target_arm::Scan::global,
12357 (Scan::check_non_pic): Handle R_ARM_ABS32_NOI.
12358 (Scan::local): Remove special handling of R_ARM_ABS8. Handle
12361 (Scan::global): Likewise.
12374 (Scan::local): Handle R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL,
12376 (Scan::global, Relocate::relocate): Likewise.
12444 (Scan::local): Handle R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS,
12446 (Scan::global): Likewise.
12453 (Scan::local, Scan::global): Handle R_ARM_GOT_PREL.
12560 (Target_i386::Scan::global): Use Symbol::may_need_copy_reloc instead
12564 (Target_powerpc::Scan::global): Use Symbol::may_need_copy_reloc
12567 (Target_sparc::Scan::global): Use Symbol::may_need_copy_reloc
12571 (Target_x86_64::Scan::global): Use Symbol::may_need_copy_reloc
12824 (Target_arm::Scan::local): Handle R_ARM_ABS8.
12825 (Target_arm::Scan::global): Likewise.
13403 * gold/arm.cc (Target_arm::Scan::Scan): Initialize
13405 (class Target_arm::Scan): Declare new method check_non_pic.
13411 (Target_arm::Scan::check_non_pic): Define new method.
13412 (Target_arm::Scan::local): Handle a small subset of reloc types used
13414 (Target_arm::Scan::local): Same.
13840 (Target_sparc::Scan::global): If we see _GLOBAL_OFFSET_TABLE_,
13844 (Target_sparc::Scan::local): Likewise.
13845 (Target_sparc::Scan::global): Likewise.
15830 * i386.cc (Scan::local): Check for ordinary symbols.
15831 * sparc.cc (Scan::local): Likewise.
15832 * x86_64.cc (Scan::local): Likewise.
15931 (Target_i386::Scan::local): Define _TLS_MODULE_BASE_ symbol.
15932 (Target_i386::Scan::global): Likewise.
15936 (Target_x86_64::Scan::local): Define _TLS_MODULE_BASE_ symbol.
15937 (Target_x86_64::Scan::global): Likewise.
15956 * sparc.cc (Target_sparc::Scan): Change from struct to class.
15958 (Target_sparc::Scan::check_non_pic): New function.
15959 (Target_sparc::Scan::local): Call check_non_pic as appropriate.
15960 (Target_sparc::Scan::global): Likewise.
16091 (Target_i386::Scan::local): Implement R_386_TLS_GOTDESC and
16094 (Target_i386::Scan::global): Fix problem with GD-to-IE relaxation.
16127 (Target_x86_64::Scan::local): Implement R_386_TLS_GOTDESC and
16129 (Target_x86_64::Scan::global): Likewise.
16267 * x86_64.cc (Target_x86_64::Scan): Change from struct to class.
16269 (Target_x86_64::Scan::check_non_pic): New function.
16270 (Target_x86_64::Scan::local): Call check_non_pic as appropriate.
16271 (Target_x86_64::Scan::global): Likewise.
16580 (Target_i386::Scan::local): Updated callers of Output_data_got
16582 (Target_i386::Scan::global): Likewise.
16644 (Target_x86_64::Scan::local): Updated callers of Output_data_got
16646 (Target_x86_64::Scan::global): Likewise.