Add support for emitting ARM file attributes.
[oota-llvm.git] / lib / Target / ARM / ARMAsmBackend.cpp
index 72f6e2b4ce717a10cb2403a0f8ab19ad538d7297..4be02424752f29ab2d22b954fb762022fb86b794 100644 (file)
@@ -55,12 +55,11 @@ void ARMAsmBackend::RelaxInstruction(const MCInst &Inst, MCInst &Res) const {
 }
 
 bool ARMAsmBackend::WriteNopData(uint64_t Count, MCObjectWriter *OW) const {
-  assert(0 && "ARMAsmBackend::WriteNopData() unimplemented");
   if ((Count % 4) != 0) {
     // Fixme: % 2 for Thumb?
     return false;
   }
-  return false;
+  return true;
 }
 } // end anonymous namespace