commit | af4fa23fba220c1b26bb3c8a7996b406dcc181cc | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Fri May 17 19:09:42 2019 +0930 |
committer | Alan Modra <amodra@gmail.com> | Fri May 17 21:06:07 2019 +0930 |
tree | 502c2670681abe2aef1f70b768431ebfa201cb5b | |
parent | 26648588294d039fcf1efbf512d785753cb6286d [diff] |
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.