This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD] Remove powerpc.cc copy of use_plt_offset
- From: Ian Lance Taylor <iant at google dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Sun, 3 Nov 2013 21:02:09 -0800
- Subject: Re: [GOLD] Remove powerpc.cc copy of use_plt_offset
- Authentication-results: sourceware.org; auth=none
- References: <20131103234145 dot GD20756 at bubble dot grove dot modra dot org>
On Sun, Nov 3, 2013 at 3:41 PM, Alan Modra <amodra@gmail.com> wrote:
>
> * symtab.h (Symbol::Reference_flags): Add FUNC_DESC_ABI.
> (Symbol::needs_dynamic_reloc): Test new flag.
> * powerpc.cc (needs_dynamic_reloc, use_plt_offset): Delete.
> (Target_powerpc::Scan::get_reference_flags): Add target param.
> Return FUNC_DESC_ABI for 64-bit ELFv1.
> (Target_powerpc::Branch_info::make_stub): Adjust get_reference_flags
> call.
> (Target_powerpc::Scan::global): Use Symbol::needs_dynamic_reloc.
> (Target_powerpc::Relocate::relocate): Use Symbol::use_plt_offset.
This is OK.
Thanks.
Ian