Fix asm printing of associated sections.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 14 Mar 2017 19:28:51 +0000 (19:28 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 14 Mar 2017 19:28:51 +0000 (19:28 +0000)
commitc67a9ef0ea927dadf0834c963c4b5b9d0800ee30
tree89cc856562bc36dcebf6e66c58b37e15dc9ba68c
parent152625875f1644d383b897eb09dfe779a8ad040b
Fix asm printing of associated sections.

Make MCSectionELF::AssociatedSection be a link to a symbol, because
that's how it works in the assembly, and use it in the asm printer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297769 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
include/llvm/MC/MCSectionELF.h
lib/MC/ELFObjectWriter.cpp
lib/MC/MCContext.cpp
lib/MC/MCParser/ELFAsmParser.cpp
lib/MC/MCSectionELF.cpp
lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp
test/MC/ELF/section.s