This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] gold: Fix segfault on sparc with STT_SPARC_REGISTER and --gc-sections
- From: Cary Coutant <ccoutant at gmail dot com>
- To: James Clarke <jrtc27 at jrtc27 dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 10 Aug 2016 11:14:01 -0700
- Subject: Re: [PATCH] gold: Fix segfault on sparc with STT_SPARC_REGISTER and --gc-sections
- Authentication-results: sourceware.org; auth=none
- References: <20160724174555.88574-1-jrtc27@jrtc27.com>
> gold/
> * symtab.cc (Symbol_table::add_from_relobj): Handle NULL symbols,
> which will be present for STT_SPARC_REGISTER.
> (Symbol_table::add_from_pluginobj): Likewise.
> (Symbol_table::add_from_dynobj): Likewise.
> (Symbol_table::add_from_incrobj): Removed dead code.
This is OK. I've committed it to master and backported it to the 2.27 branch.
Thanks!
-cary