munch出来的ctdt.c文件到底是干什么用的?

Description :
Implement the execution routines for constructor and
destructor functions.
The ctors and dtors are constructor and destructor initialization functions.
Following GCC, these are data sections containing function pointers.
The sections are sorted into a order which allows for the relative ordering
of the functions.
The following is a sample linker map, illustrating the sections:
---------------------------------------------------------------------
.ctors 00106284 00000020
.ctors 00106284 00000004 ctordtor.o
__CTOR_LIST__ 00106284 00000004
.ctors 00106288 00000004 test2.o
.ctors.00050 0010628c 00000004 test2.o
.ctors.65202 00106290 00000004 test2a.o
.ctors.65435 00106294 00000004 test2.o
.ctors.65461 00106298 00000004 test2.o
.ctors.65532 0010629c 00000004 test2a.o
.ctors.65536 001062a0 00000004 ctordtor.o
__CTOR_END__ 001062a0 00000004
----------------------------------------------------------------------
回复
打赏帖 | |
---|---|
分享一种检测按键状态的方法被打赏20分 | |
周末总结一下,STM32C0系列的开发经验被打赏50分 | |
【换取手持数字示波器】MicrochipMPLABHarmony框架下定时器配置被打赏20分 | |
【换取手持数字示波器】MicrochipMPLABHarmony框架下PWM配置被打赏20分 | |
【Cortex-M】Systick Timer使用被打赏10分 | |
分享汽车防盗系统的组成与分类(一)被打赏5分 | |
VOFA+波形显示+JYD-31蓝牙发送和解析不定长数据被打赏10分 | |
【换取手持数字示波器】-STM32F4PWM控制LED灯管亮度被打赏22分 | |
【换取手持数字示波器】STM32F4驱动RPR-0521RS照度、接近一体型传感器被打赏23分 | |
宏定义和const关键字定义被打赏5分 |