PR24567, assertion failure in ldlang.c:6868 when compiling with -flto
authorAlan Modra <amodra@gmail.com>
Fri, 17 May 2019 09:39:42 +0000 (19:09 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 17 May 2019 11:36:07 +0000 (21:06 +0930)
commitaf4fa23fba220c1b26bb3c8a7996b406dcc181cc
tree502c2670681abe2aef1f70b768431ebfa201cb5b
parent26648588294d039fcf1efbf512d785753cb6286d
PR24567, assertion failure in ldlang.c:6868 when compiling with -flto

As the existing comment said: "a common ought to be overridden by a
def in a -flto object".  This patch makes the code actually do that,
rather than allowing a normal object file common to override a -flto
defined symbol.

PR 24567
* plugin.c (plugin_notice): Do not let a common symbol override
a non-common definition in IR.
ld/ChangeLog
ld/plugin.c
This page took 0.02471 seconds and 4 git commands to generate.