Build failed as code section was not included in map.

Fix by Jimmy
pull/5767/head
Deepika 2017-10-10 16:43:21 -05:00 committed by adbridge
parent 921631d70a
commit 815b9bfde6
1 changed files with 6 additions and 2 deletions

View File

@ -274,9 +274,13 @@ class MemapParser(object):
section = '.data'
elif test_re_armcc.group(3) == 'Zero':
section = '.bss'
elif test_re_armcc.group(3) == 'Code':
section = '.text'
else:
print "Malformed input found when parsing armcc map: %s" %\
line
print "Malformed input found when parsing armcc map: %s, %r" %\
(line, test_re_armcc.groups())
return ["", 0, ""]
# check name of object or library
object_name = self.parse_object_name_armcc(\