diff python/ppci/buildtasks.py @ 347:742588fb8cd6 devel

Merge into devel branch
author Windel Bouwman
date Fri, 07 Mar 2014 17:10:21 +0100
parents 3bb7dcfe5529
children 442fb043d149
line wrap: on
line diff
--- a/python/ppci/buildtasks.py	Sat Mar 01 16:27:52 2014 +0100
+++ b/python/ppci/buildtasks.py	Fri Mar 07 17:10:21 2014 +0100
@@ -33,11 +33,11 @@
         self.source = source
         self.output = output_object
         self.ostream = BinaryOutputStream(self.output)
-        self.assembler = Assembler(target, self.ostream)
+        self.assembler = Assembler(target)
 
     def run(self):
         self.ostream.selectSection('code')
-        self.assembler.assemble(self.source)
+        self.assembler.assemble(self.source, self.ostream)
 
 
 class Compile(BuildTask):