This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: powerpc gold, work around pr17670
- From: Cary Coutant <ccoutant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Wed, 3 Dec 2014 15:31:39 -0800
- Subject: Re: powerpc gold, work around pr17670
- Authentication-results: sourceware.org; auth=none
- References: <20141203151701 dot GR20383 at bubble dot grove dot modra dot org> <CAHACq4qWVsqEYZWgTAww7LNg2N6kgDomB8mrB4tCMLHqueyTFQ at mail dot gmail dot com> <20141203231305 dot GS20383 at bubble dot grove dot modra dot org>
> +2014-12-04 Alan Modra <amodra@gmail.com>
> +
> + PR 17670
> + * symtab.cc (Symbol::set_undefined): Remove assertion.
> + * powerpc.cc (Target_powerpc::symval_for_branch): Don't assert
> + on symbols defined in discarded sections, instead return false.
> + Rearrange params, update all callers.
> + (Target_powerpc::Branch_info::make_stub): Don't make stubs for
> + branches to syms in discarded sections.
> + (Global_symbol_visitor_opd::operator()): Set discarded opd syms
> + undefined and flag as discarded.
> + (Target_powerpc::Relocate::relocate): Localize variable.
OK, thanks!
-cary