Variables declared in the BSS section don't actually take space, unlike in the data segment.
与数据部分中不同,BSS部分中声明的变量并不实际占用空间。
BSS stands for "block storage segment" (originally, "block started by symbol"), and the memory reserved in the BSS section is initialized to zero during the start of the program.
BSS代表“blockstoragesegment”(原来是以一个符号开头的块),BSS部分中保留的内存在程序启动时初始化为零。
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 部分基本相同,惟一的不同之处在于可执行程序本身不包含值,它只关注应该为它们保留多少空间。
Another type of section, known by the BSS designation, contains blocks started by symbol data.
另一种类型的段,称为bss段,它包含以符号数据开头的块。
Another type of section, known by the BSS designation, contains blocks started by symbol data.
另一种类型的段,称为bss段,它包含以符号数据开头的块。
应用推荐