[PATCH,plugins,head+2.21] Fix pr12365 on COFF.
Dave Korn
dave.korn.cygwin@gmail.com
Sat May 7 14:29:00 GMT 2011
On 07/05/2011 07:13, Alan Modra wrote:
> On Fri, May 06, 2011 at 06:37:05PM +0100, Dave Korn wrote:
>> Tested on i686-pc-cygwin, fixes PR12365 and current failures in the
>> ld-plugin tests and HJ's lto tests except for the ones that rely on mixed IR
>> and non-IR relocatable links.
>>
>> OK for head and backport to branch in a couple of days time?
>
> OK.
>
>> + /* Complain if definition comes from a discarded section. */
>> + if (ps->flags & SEC_EXCLUDE)
>
> Strictly speaking this only tests for one class of discarded sections.
> I'm happy with the test, just the comment is a little misleading.
Reworded to "an excluded section", and applied after remembering to
reference the PR in the changelogs.
cheers,
DaveK
More information about the Binutils
mailing list