6468 views|2 replies

348

Posts

0

Resources
The OP
 

lib file link mechanism [Copy link]

May I ask, what is the link mechanism of lib files like? Is there any information I can check? I did the following test: (1) In a linked file, add uncalled functions and variables. After generating a .a file, the map file will allocate addresses. (2) In a file that is not called by any module, add uncalled functions and variables. After generating a .a file, the map file will not allocate addresses. (3) In a linked file, call the file in (2). After generating a .a file, the map file will allocate addresses.
This post is from Analog electronics

Latest reply

It will remove useless code and won't give you things you don't need.  Details Published on 2018-11-12 21:34

7422

Posts

2

Resources
2
 
It will remove useless code and won't give you things you don't need.
This post is from Analog electronics

Comments

Is there any relevant information I can look at? Thank you  Details Published on 2018-11-14 16:42
 
 

348

Posts

0

Resources
3
 
freebsder posted on 2018-11-12 21:34 It will remove useless code and will not give you things you don't need.
Is there any relevant information I can look at for knowledge in this area? Thank you
This post is from Analog electronics
 
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list