After this, you go to the .bss section, which is like the .data section, except that the executable itself does not contain the values, it just notes how much space should be reserved for them.
这之后,进入到 .bss 部分,此部分与 .data 部分基本相同,惟一的不同之处在于可执行程序本身不包含值,它只关注应该为它们保留多少空间。
Objects in the BSS section have only a name and a size, and no value.
BSS部分中的对象只有一个名称和大小,没有值。
Variables declared in the BSS section don't actually take space, unlike in the data segment.
与数据部分中不同,BSS 部分中声明的变量并不实际占用空间。
应用推荐