ctdt.c

来自「Embedded Planet公司的ep8260单板计算机的BSP包(VxWor」· C语言 代码 · 共 21 行

C
21
字号
/* ctors and dtors arrays -- to be used by runtime system */
/*   to call static constructors and destructors          */
/*                                                        */
/* NOTE: Use a GNU C/C++ compiler to compile this file.   */

__asm__ (".data");
__asm__ (".global _ctors");
__asm__ (".align 4");
__asm__ ("_ctors:");
__asm__ ("    .long _GLOBAL_$I$__stdstrbufs_o");
__asm__ ("    .long _GLOBAL_$I$__stlinst_o");
__asm__ ("    .long _GLOBAL_$I$__streambuf_o");
__asm__ ("    .long 0");
__asm__ (".global _dtors");
__asm__ (".align 4");
__asm__ ("_dtors:");
__asm__ ("    .long _GLOBAL_$D$__streambuf_o");
__asm__ ("    .long _GLOBAL_$D$__stlinst_o");
__asm__ ("    .long _GLOBAL_$D$__stdstrbufs_o");
__asm__ ("    .long 0");

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?