请问那个属于宏定义的范畴
.text | yes | executable code |
.bss | no | global variables |
.cinit | yes | tables which initialize global variables |
.data (EABI) | yes and no | initialized coming out of the assembler; changed to uninitialized by the linker |
.data (COFF ABI) | yes | initialized data |
.stack | no | system stack |
.heap or .sysmem | no | malloc heap |
.const | yes | initialized global variables |
.switch | yes | jump tables for certain switch statements |
.init_array or .pinit | yes | Table of C++ constructors called at startup |
.cio | no | Buffer for stdio functions |
Susan Yang:
宏定义只是简单的替换,是在编译时起作用,还没到运行期间,所以不会有内存分配
,
Susan Yang:
感谢确认答案!若是有其他问题,您可以随时发新帖,谢谢