-
Notifications
You must be signed in to change notification settings - Fork 0
/
HelloOS.map
104 lines (82 loc) · 3.72 KB
/
HelloOS.map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
舍弃的输入节
.group 0x0000000000000000 0x8 main.o
内存配置
名称 来源 长度 属性
*default* 0x0000000000000000 0xffffffffffffffff
链结器命令稿和内存映射
0x0000000000200000 . = 0x200000
0x0000000000200000 __begin_start_text = .
.start.text 0x0000000000200000 0xd5
*(.start.text)
.start.text 0x0000000000200000 0xd5 entry.o
0x0000000000200000 _start
0x00000000002000d5 __end_start_text = .
0x00000000002000d5 __begin_text = .
.text 0x00000000002000d8 0x23
*(.text)
.text 0x00000000002000d8 0x0 main.o
.text 0x00000000002000d8 0x23 vgastr.o
0x00000000002000d8 _strwrite
0x00000000002000f0 printf
0x00000000002000fb __end_text = .
0x00000000002000fb __begin_data = .
.iplt 0x0000000000200100 0x0
.iplt 0x0000000000200100 0x0 entry.o
.text.startup 0x00000000002000fb 0x36
.text.startup 0x00000000002000fb 0x36 main.o
0x00000000002000fb main
.text.__x86.get_pc_thunk.bx
0x0000000000200131 0x4
.text.__x86.get_pc_thunk.bx
0x0000000000200131 0x4 main.o
0x0000000000200131 __x86.get_pc_thunk.bx
.data 0x0000000000200138 0x0
*(.data)
.data 0x0000000000200138 0x0 main.o
.data 0x0000000000200138 0x0 vgastr.o
0x0000000000200138 __end_data = .
0x0000000000200138 __begin_rodata = .
.got 0x0000000000200138 0x0
.got 0x0000000000200138 0x0 entry.o
.got.plt 0x0000000000200138 0xc
.got.plt 0x0000000000200138 0xc entry.o
0x0000000000200138 _GLOBAL_OFFSET_TABLE_
.igot.plt 0x0000000000200144 0x0
.igot.plt 0x0000000000200144 0x0 entry.o
.rodata 0x0000000000200144 0x40
*(.rodata)
*(.rodata.*)
.rodata.str1.1
0x0000000000200144 0x40 main.o
0x0000000000200184 __end_rodata = .
0x0000000000200184 __begin_kstrtab = .
.eh_frame 0x0000000000200184 0x8c
.eh_frame 0x0000000000200184 0x60 main.o
.eh_frame 0x00000000002001e4 0x2c vgastr.o
0x44 (松开之前的大小)
.rel.dyn 0x0000000000200210 0x0
.rel.got 0x0000000000200210 0x0 entry.o
.rel.iplt 0x0000000000200210 0x0 entry.o
.kstrtab
*(.kstrtab)
0x0000000000200210 __end_kstrtab = .
0x0000000000200210 __begin_bss = .
.bss 0x0000000000200210 0x0
*(.bss)
.bss 0x0000000000200210 0x0 main.o
.bss 0x0000000000200210 0x0 vgastr.o
0x0000000000200210 __end_bss = .
LOAD entry.o
LOAD main.o
LOAD vgastr.o
OUTPUT(HelloOS.elf elf32-i386)
.comment 0x0000000000000000 0x29
.comment 0x0000000000000000 0x29 main.o
0x2a (松开之前的大小)
.comment 0x0000000000000029 0x2a vgastr.o
.note.GNU-stack
0x0000000000000000 0x0
.note.GNU-stack
0x0000000000000000 0x0 main.o
.note.GNU-stack
0x0000000000000000 0x0 vgastr.o