首页 > 代码库 > CONFIG_DEBUG_INFO 能显著增加ko文件的大小
CONFIG_DEBUG_INFO 能显著增加ko文件的大小
CONFIG_DEBUG_INFO以调试方式编译内核(gcc -g).仅供内核开发者使用Debug VM
my-video.ko: 文件格式 elf32-i386
节:
Idx Name Size VMA LMA File off Algn
0 .note.gnu.build-id 00000024 00000000 00000000 00000034 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
1 .text 00001b32 00000000 00000000 00000058 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
2 .init.text 000000a4 00000000 00000000 00001b8a 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
3 .exit.text 0000000a 00000000 00000000 00001c2e 2**0
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
4 __ksymtab 00000020 0000000c 0000000c 00001c38 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
5 __ksymtab_gpl 00000008 0000002c 0000002c 00001c58 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
6 __kcrctab 00000010 00000034 00000034 00001c60 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
7 __kcrctab_gpl 00000004 00000044 00000044 00001c70 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
8 .rodata.str1.1 000004f5 00000000 00000000 00001c74 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
9 .rodata 000000c6 00000000 00000000 0000216c 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
10 .smp_locks 00000020 00000000 00000000 00002234 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
11 __ksymtab_strings 00000082 00000000 00000000 00002254 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
12 .modinfo 00000123 00000000 00000000 000022d6 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
13 __param 00000030 00000000 00000000 000023fc 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
14 __mcount_loc 00000078 00000000 00000000 0000242c 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
15 __versions 00001000 00000000 00000000 000024c0 2**5
CONTENTS, ALLOC, LOAD, READONLY, DATA
16 .data 000000fd 00000000 00000000 000034c0 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
17 .init.data 00000f90 00000000 00000000 000035c0 2**2
CONTENTS, ALLOC, LOAD, RELOC, DATA
18 .gnu.linkonce.this_module 0000017c 00000000 00000000 00004560 2**5
CONTENTS, ALLOC, LOAD, RELOC, DATA, LINK_ONCE_DISCARD
19 .bss 00000031 00000000 00000000 000046dc 2**2
ALLOC
20 .debug_info 000167aa 00000000 00000000 000046dc 2**0
CONTENTS, RELOC, READONLY, DEBUGGING
21 .debug_abbrev 00000966 00000000 00000000 0001ae86 2**0
CONTENTS, READONLY, DEBUGGING
22 .debug_loc 000010d9 00000000 00000000 0001b7ec 2**0
CONTENTS, RELOC, READONLY, DEBUGGING
23 .debug_aranges 00000058 00000000 00000000 0001c8c5 2**0
CONTENTS, RELOC, READONLY, DEBUGGING
24 .debug_ranges 00000348 00000000 00000000 0001c91d 2**0
CONTENTS, RELOC, READONLY, DEBUGGING
25 .debug_line 00001555 00000000 00000000 0001cc65 2**0
CONTENTS, RELOC, READONLY, DEBUGGING
26 .debug_str 0000d091 00000000 00000000 0001e1ba 2**0
CONTENTS, READONLY, DEBUGGING
27 .comment 0000004a 00000000 00000000 0002b24b 2**0
CONTENTS, READONLY
28 .note.GNU-stack 00000000 00000000 00000000 0002b295 2**0
CONTENTS, READONLY
29 .debug_frame 00000568 00000000 00000000 0002b298 2**2
CONTENTS, RELOC, READONLY, DEBUGGING
CONFIG_DEBUG_INFO 能显著增加ko文件的大小
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。