MC: Let non-temporary COFF aliases be in symtab
authorDavid Majnemer <david.majnemer@gmail.com>
Sun, 13 Jul 2014 04:31:19 +0000 (04:31 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Sun, 13 Jul 2014 04:31:19 +0000 (04:31 +0000)
commitf803b3d9925a30c83aa5deb3a8ac201255e8d68a
treef37879eeb6dde4507db9b6830f2c83e653b53467
parent0ed20177c27cb83327aed98b35db4377a0cebe34
MC: Let non-temporary COFF aliases be in symtab

MC was aping a binutils bug where aliases would default their linkage to
private instead of internal.

I've sent a patch to the binutils maintainers and they've recently
applied it to the GNU assembler sources.

This fixes PR20152.

Differential Revision: http://reviews.llvm.org/D4395

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212899 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp
test/MC/COFF/alias.s
test/MC/COFF/lset0.s