diff --git a/tools/memap.py b/tools/memap.py index 00c5aa36f5..3a1d134dc7 100644 --- a/tools/memap.py +++ b/tools/memap.py @@ -142,7 +142,10 @@ class _GccParser(_Parser): return join('[lib]', test_re_obj_name.group(2), test_re_obj_name.group(3)) else: - print("Unknown object name found in GCC map file: %s" % line) + if (not line.startswith("LONG") and + not line.startswith("linker stubs")): + print("Unknown object name found in GCC map file: %s" + % line) return '[misc]' def parse_section(self, line):