mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #5734 from deepikabhavnani/code_map_file
Build failed as code section was not included in map.pull/5420/merge
commit
41b697b6f7
|
@ -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(\
|
||||||
|
|
Loading…
Reference in New Issue