[PATCH,plugins,head+2.21] Fix pr12365 on COFF.
Sat May 7 06:13:00 GMT 2011
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?
> + /* 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.
Australia Development Lab, IBM
More information about the Binutils