Don't discard definitions of common symbols. Not sure if this is the right fix.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 15 Feb 2009 22:49:17 +0000 (22:49 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 15 Feb 2009 22:49:17 +0000 (22:49 +0000)
commite0afaa301d763096af400ef44714b0f4deb5b68b
tree31048e173f598af0b2dec78c64e4827c50b36551
parent225f7474863a11a7baded7d6505400ce3328331e
Don't discard definitions of common symbols. Not sure if this is the right fix.

Before this change, the program:
  int var;
  int main(void) { return 0; }
when run under 'nm -g' would show 'U var' with the gold plugin and
'B var' with gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64616 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gold/gold-plugin.cpp