COFF: Fix local absolute symbols.
authorRui Ueyama <ruiu@google.com>
Fri, 26 Jun 2015 03:09:23 +0000 (03:09 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 26 Jun 2015 03:09:23 +0000 (03:09 +0000)
commitccde19d77ec8e990bedeea2a7190beb3f42cce06
treeac3d1ca3bcd217409d22f388b3df8f03e943cf0a
parent2cd34bb5857b74561277cc146a2558c2fb93e91c
COFF: Fix local absolute symbols.

Absolute symbols were always handled as external symbols, so if two
or more object files define the same absolute symbol, they would
conflict even if the symbol is private to each file.
This patch fixes that bug.

llvm-svn: 240756
lld/COFF/InputFiles.cpp
lld/COFF/Symbols.h
lld/test/COFF/internal.test [new file with mode: 0644]