Don't create empty sections just to look like gas.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 Nov 2015 20:02:22 +0000 (20:02 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 3 Nov 2015 20:02:22 +0000 (20:02 +0000)
commit556ddccf740f5142a3e3ff94ae0bd819c8c6e161
treebd1041a4f01c664da8c95c4fdb40a20c41b3d24c
parentd7bfacbfead9f2e72194095aab22ec872a23b966
Don't create empty sections just to look like gas.

We are long past the time when this much bug for bug compatibility was
useful.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251970 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
lib/MC/MCELFStreamer.cpp
test/MC/ARM/eh-directive-section-comdat.s
test/MC/ARM/eh-directive-section-multiple-func.s
test/MC/ARM/eh-directive-section.s
test/MC/ARM/eh-link.s
test/MC/ELF/align.s
test/MC/ELF/comdat-dup-group-name.s
test/MC/ELF/comdat-reloc.s
test/MC/ELF/comdat.s
test/MC/ELF/empty.s
test/MC/ELF/many-sections-2.s
test/MC/ELF/many-sections-3.s
test/MC/ELF/many-sections.s
test/MC/ELF/section-sym.s
test/MC/ELF/section-unique.s
test/MC/ELF/strtab-suffix-opt.s