System.map 注解

该文件路径为/boot/System.map

该文件为RAM内存物理地址布局,内核版本为2.6.32

system.map 格式为:线性地址 类型 符号


00000000 A VDSO32_PRELINK      

00000000 A xen_irq_disable_direct_reloc
00000000 A xen_save_fl_direct_reloc
00000040 A VDSO32_vsyscall_eh_frame_size
000001d5 A kexec_control_code_size
000001f0 A VDSO32_NOTE_MASK
00000400 A VDSO32_sigreturn
0000040c A VDSO32_rt_sigreturn
00000414 A VDSO32_vsyscall
00000424 A VDSO32_SYSENTER_RETURN
00400000 A phys_startup_32

c0400000 T _text           内核代码第一个字节处     

......

c07e9ba4 T _etext          内核代码结束位置,同时也是初始化的数据开始处  

......

c0a1d688 D _edata          初始化的数据开始处,同时也是初始化的数据结束位置

......

c099a000 D _sdata          堆栈开始开始处

......

c0a96000 D __init_end      初始化结束位置

......

类型解释:

小写字母表示局部; 大写字母表示全局(外部). 

The symbol's value is absolute, and will not be changed by further linking. 



The symbol is in the uninitialized data section (known as BSS). 


The symbol is common. Common symbols are uninitialized data. When linking, multiple common symbols may appear with the same name. If the symbol is defined anywhere, the common symbols are treated as undefined references. For more details on common symbols, see the discussion of -warn-common in Linker options. 


The symbol is in the initialized data section. 


The symbol is in an initialized data section for small objects. Some object file formats permit more efficient access to small data objects, such as a global int variable as opposed to a large global array. 


The symbol is an indirect reference to another symbol. This is a GNU extension to the a.out object file format which is rarely used. 


The symbol is a debugging symbol. 


The symbol is in a read only data section. 


The symbol is in an uninitialized data section for small objects. 


The symbol is in the text (code) section. 


The symbol is undefined. 


The symbol is a weak object. When a weak defined symbol is linked with a normal defined symbol, the normal defined symbol is used with no error. When a weak undefined symbol is linked and the symbol is not defined, the value of the weak symbol becomes zero with no error. 


The symbol is a weak symbol that has not been specifically tagged as a weak object symbol. When a weak defined symbol is linked with a normal defined symbol, the normal defined symbol is used with no error. When a weak undefined symbol is linked and the symbol is not defined, the value of the weak symbol becomes zero with no error. 

                           
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值