diff python/ppci/linker.py @ 377:9667d78ba79e

Switched to xml for project description
author Windel Bouwman
date Fri, 11 Apr 2014 15:47:50 +0200
parents 98ff43cfdd36
children 6df89163e114
line wrap: on
line diff
--- a/python/ppci/linker.py	Tue Mar 25 19:36:51 2014 +0100
+++ b/python/ppci/linker.py	Fri Apr 11 15:47:50 2014 +0200
@@ -130,6 +130,9 @@
     section.data[reloc.offset+0] = offset & 0xFF
 
 
+class Layout:
+    pass
+
 class Linker:
     """ Merges the sections of several object files and 
         performs relocation """
@@ -137,6 +140,7 @@
         self.logger = logging.getLogger('Linker')
 
     def link(self, objs, layout={}):
+        assert type(objs) is list
         # Create new object file to store output:
         self.dst = ObjectFile()