projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for the .zero directive.
[oota-llvm.git]
/
lib
/
MC
/
MCAssembler.cpp
diff --git
a/lib/MC/MCAssembler.cpp
b/lib/MC/MCAssembler.cpp
index 8db1536d2d505f0b8d48a9c9b5ca36e53ac6f382..bb1249950cba9486f5b49aa866b164fbbbac1131 100644
(file)
--- a/
lib/MC/MCAssembler.cpp
+++ b/
lib/MC/MCAssembler.cpp
@@
-739,7
+739,7
@@
void MCAssembler::Finish(MCObjectWriter *Writer) {
// Create dummy fragments to eliminate any empty sections, this simplifies
// layout.
if (it->getFragmentList().empty())
- new MC
FillFragment(0, 1, 0,
it);
+ new MC
DataFragment(
it);
it->setOrdinal(SectionIndex++);
}