[gold commit] PR gold/17639: Fix corrupted .eh_frame section with LTO and --gc-sections

Cary Coutant ccoutant@google.com
Wed Nov 26 00:20:00 GMT 2014


> 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



More information about the Binutils mailing list