diff python/codegenarm.py @ 250:f5fba5b554d7

Removal of obsolete editor
author Windel Bouwman
date Sun, 28 Jul 2013 19:07:51 +0200
parents e41e4109addd
children 7416c923a02a
line wrap: on
line diff
--- a/python/codegenarm.py	Fri Jul 26 20:26:05 2013 +0200
+++ b/python/codegenarm.py	Sun Jul 28 19:07:51 2013 +0200
@@ -16,6 +16,9 @@
 
     def generate(self, ircode):
         assert isinstance(ircode, ir.Module)
+        # TODO: get these from linker descriptor?
+        self.outs.getSection('code').address = 0x08000000
+        self.outs.getSection('data').address = 0x20000000
         self.outs.selectSection('data')
 
         for gvar in ircode.Variables: