This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [GOLD] Symbol target_flag for PowerPC64 localentry:0 tracking
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Alan Modra <amodra at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Sun, 27 Aug 2017 21:32:02 -0700
- Subject: Re: [GOLD] Symbol target_flag for PowerPC64 localentry:0 tracking
- Authentication-results: sourceware.org; auth=none
- References: <20170731101540.GH1956@bubble.grove.modra.org> <CAJimCsFJ=4n_EawL2U6pbbO5kXrefzfthUHQa_FOhSDZNR1uRQ@mail.gmail.com> <20170801033108.GM1956@bubble.grove.modra.org>
> OK, I'll call it non_zero_localentry and remove the ability to clear
> the flag, which I don't need for PowerPC64. Is this OK to commit?
>
> PR 21847
> * powerpc.cc (Target_powerpc::is_elfv2_localentry0): Test
> non_zero_localentry.
> (Target_powerpc::resolve): New function.
> (powerpc_info): Set has_resolve for 64-bit.
> * target.h (Sized_target::resolve): Return bool.
> * resolve.cc (Symbol_table::resolve): Continue with normal
> processing when target resolve returns false.
> * symtab.h (Symbol::non_zero_localentry, set_non_zero_localentry):
> New accessors.
> (Symbol::non_zero_localentry_): New flag bit.
> * symtab.cc (Symbol::init_fields): Init non_zero_localentry_.
Yes, this is OK. Thanks, and sorry for the delay!
-cary