This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold commit] PR gold/17639: Fix corrupted .eh_frame section with LTO and --gc-sections
- From: Cary Coutant <ccoutant at google dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Tue, 25 Nov 2014 16:20:44 -0800
- Subject: Re: [gold commit] PR gold/17639: Fix corrupted .eh_frame section with LTO and --gc-sections
- Authentication-results: sourceware.org; auth=none
- References: <20141125215925 dot 562ED1605E0 at ccoutant dot mtv dot corp dot google dot com>
> 2014-11-25 Cary Coutant <ccoutant@google.com>
>
> gold/
> PR gold/17639
> * object.cc (Sized_relobj_file): Initialize is_deferred_layout_.
> (Sized_relobj_file::do_layout): Handle deferred sections properly
> during GC pass 1. Don't add reloc sections to deferred list twice.
> * object.h (Sized_relobj_file::is_deferred_layout): New function.
> (Sized_relobj_file::is_deferred_layout_): New data member.
I backported this patch to binutils-2_25-branch.
-cary