|
楼主 |
发表于 2022-3-21 23:25:00
|
显示全部楼层
The map file contains:
● Linking summary in the map file header which lists the version of the linker, the
current date and time, and the command line that was used.
● Runtime attribute summary which lists runtime attributes.
● Placement summary which lists each section/block in address order, sorted by
placement directives.
● Initialization table layout which lists the data ranges, packing methods, and
compression ratios.
● Module summary which lists contributions from each module to the image, sorted
by directory and library.
● Entry list which lists all public and some local symbols in alphabetical order,
indicating which module they came from.
● Some of the bytes might be reported as shared.
Shared objects are functions or data objects that are shared between modules. If any
of these occur in more than one module, only one copy is retained. For example, in
some cases inline functions are not inlined, which means that they are marked as
shared, because only one instance of each function will be included in the final
application. This mechanism is also sometimes used for compiler-generated code or
data not directly associated with a particular function or variable, and when only one
instance is required in the final application.
|
|