[gold commit] PR gold/18152: Fix internal error in do_relocate_sections

Cary Coutant ccoutant@gmail.com
Sun Mar 22 01:55:00 GMT 2015


This time with the patch...

-cary

On Sat, Mar 21, 2015 at 5:59 PM, Cary Coutant <ccoutant@gmail.com> wrote:
> In a previous patch for PR 14675, to fix a problem with
> the .eh_frame section when static linking, I added a step to
> finalize the .eh_frame section at the end of the first link
> pass. This patch caused PR 18152, where a plugin-claimed
> object caused a non-claimed object's layout to be deferred
> until replacement files were read. The call to
> finalize_eh_frame_section() is happening before the layout of
> the deferred objects, leading to the internal error in
> do_relocate_sections.
>
> This patch moves the finalization of the .eh_frame section to
> after deferred objects have been processed.
>
> -cary
>
> 2015-03-21  Cary Coutant  <ccoutant@google.com>
>
> gold/
>         PR gold/14675
>         PR gold/18152
>         * gold.cc (queue_middle_tasks): Finalize .eh_frame after laying out
>         deferred objects.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gold-pr18152.patch
Type: application/octet-stream
Size: 1602 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150322/d9aad156/attachment.obj>


More information about the Binutils mailing list