Merge pull request #5734 from deepikabhavnani/code_map_file

Build failed as code section was not included in map.
pull/5420/merge
Cruz Monrreal II 2017-12-28 17:44:22 +00:00 committed by GitHub
commit 41b697b6f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

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