这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » MCU » 请教tornado编译问题

共2条 1/1 1 跳转至

请教tornado编译问题

菜鸟
2006-04-03 09:52:46     打赏

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




关键词: 请教     tornado     编译     问题    

菜鸟
2006-04-03 23:30:00     打赏
2楼

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
----------------------------------------------------------------------


共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]