EmbeddedRelated.com

Govind Mukundan (@timelypest)

Depending on when I'm sampled, I can be a code monkey, a keen student of nothing in particular, a firmware engineer or a wannabe mad scientist. I have another infrequently updated blog at http://www.govindmukundan.com/blog/

Analyzing the Linker Map file with a little help from the ELF and the DWARF

Govind MukundanGovind Mukundan December 27, 201524 comments

Running out of Flash or RAM is a familiar pain for firmware engineers, and the linker map only tells part of the story. This post shows how to combine the linker MAP with ELF symbol tables and DWARF debug info to recover static symbols, sizes, and source files that the map omits. It also describes a C# WinForms viewer that automates the parsing with binutils and helps you spot module and symbol-level memory waste.


No Threads Found

Use this form to contact timelypest

Before you can contact a member of the *Related Sites:

  • You must be logged in (register here)
  • You must confirm you email address