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] Remove powerpc.cc copy of use_plt_offset


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


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