File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -492,8 +492,6 @@ static void uartintr()
492492
493493# # 6. Memory Management
494494
495- 负责助教:[孔令宇](mailto:[email protected] ) 496-
497495本次实验为初步了解一些用户态程序的内存管理功能。包括修改程序堆的大小、Lazy Allocation 和 Copy on Write。
498496
499497# ## 6.1. 基础知识
@@ -503,7 +501,7 @@ static void uartintr()
503501ELF 是一种用于二进制文件、可执行文件等文件的文件格式,是 Linux 的主要可执行文件格式。ELF 格式将可执行文件分成几个不同的` section` ,一个程序主要由 ` anonymous` 段和 ` file-backed` 段组成:
504502
505503* ** ` anonymous` 段** :执行时才会创建的段,可执行文件本身不包含,比如` bss` (减少文件大小)、` stack` (执行时才能确定其中的内容)。
506- * ** ` file-backed` 段** :可执行文件本身就拥有的段,比如` text` (可执行文件的代码段)、` dat (已初始化的数据段)。
504+ * ** ` file-backed` 段** :可执行文件本身就拥有的段,比如` text` (可执行文件的代码段)、` data ` (已初始化的数据段)。
507505
508506其中从 ` text` 到 ` stack` ,对应的虚拟地址一般是逐渐增加的(见下图)。我们可以通过 ` size` 命令查看一个可执行文件的各个段的大小。
509507
You can’t perform that action at this time.
0 commit comments