[gold commit] PR 20717: Fix problem where orphan section is treated as a KEEP section

Cary Coutant ccoutant@gmail.com
Fri Dec 2 03:57:00 GMT 2016


This patch fixes a problem where an orphan section was incorrectly
treated as a KEEP section when the last section definition in a linker
script was a KEEP section definition.

-cary


2016-12-01  Cary Coutant  <ccoutant@gmail.com>

gold/
        PR gold/20717
        * script-sections.cc (Script_sections): Set *keep to false when
        no match.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr20717.patch
Type: application/octet-stream
Size: 550 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20161202/a58146a7/attachment.obj>


More information about the Binutils mailing list