硬汉嵌入式论坛

 找回密码
 立即注册
查看: 750|回复: 2
收起左侧

[IAR] 请问IAR的map文件里file.o后中括号+数字表示什么?

[复制链接]

210

主题

1045

回帖

1685

积分

至尊会员

More we do, more we can do.

积分
1685
发表于 2022-3-21 19:40:48 | 显示全部楼层 |阅读模式
如图:
截屏_2022-03-21_19-03-35.png
回复

使用道具 举报

210

主题

1045

回帖

1685

积分

至尊会员

More we do, more we can do.

积分
1685
 楼主| 发表于 2022-3-21 23:10:58 | 显示全部楼层
痞子衡嵌入式:ARM Cortex-M文件那些事(5)- 映射文件(.map)  https://www.cnblogs.com/henjay724/p/8276648.html
回复

使用道具 举报

210

主题

1045

回帖

1685

积分

至尊会员

More we do, more we can do.

积分
1685
 楼主| 发表于 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.


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-12 21:30 , Processed in 0.152320 second(s), 27 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表