assembly: fix AsmElement link behavior

This commit is contained in:
Zheng, Lei 2018-08-15 10:54:55 +08:00
parent b686415516
commit 8f3fdf13fd

View File

@ -299,6 +299,9 @@ class AsmElement(AsmBase):
self.parent = getProxy(parent,AsmElementGroup)
super(AsmElement,self).__init__()
def getLinkedObject(self,*_args):
pass
def linkSetup(self,obj):
super(AsmElement,self).linkSetup(obj)
if not hasattr(obj,'Offset'):