This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GOLD] PowerPC64 identical code folding


On 3/12/13, Alan Modra <amodra@gmail.com> wrote:
>
> 	* powerpc.cc (is_branch_reloc): Forward declare.
> 	(Target_powerpc::do_can_check_for_function_pointers): New predicate.
> 	(Target_powerpc::Scan::local_reloc_may_be_function_pointer): Return
> 	false for 64-bit, true for 32-bit non-branch relocs.
> 	(Target_powerpc::Scan::global_reloc_may_be_function_pointer): Likewise.
> 	* testsuite/Makefile.am (icf_test): Use linker map file instead of
> 	nm output.
> 	(icf_safe_test): Generate linker map file as well as nm output.
> 	(icf_safe_so_test): Likewise.
> 	* testsuite/Makefile.in: Regenerate.
> 	* testsuite/icf_test.sh: Parse linker map file to determine
> 	section folding.
> 	* testsuite/icf_safe_test.sh: Likewise.  Expect folding for PowerPC.
> 	* testsuite/icf_safe_so_test.sh: Likewise.
> 	(X86_32_or_ARM_specific_safe_fold): Merge into..
> 	(arch_specific_safe_fold): ..this.
> 	(X86_64_specific_safe_fold): Delete unused function.

This is OK.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]