tkernel_2/lib/libtk/src/startup_elf.c | bare source | permlink (0.00 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * T-Kernel 2.0 Software Package 4: * 5: * Copyright 2011 by Ken Sakamura. 6: * This software is distributed under the latest version of T-License 2.x. 7: *---------------------------------------------------------------------- 8: * 9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17. 10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01. 11: * 12: *---------------------------------------------------------------------- 13: */ 14: 15: /* 16: * @(#)startup_elf.c (libtk) 17: * 18: * Compiler dependent startup sequence (for ELF) 19: */ 20: 21: #include <basic.h> 22: 23: EXPORT void _init_compiler( void ) 24: { 25: IMPORT void _init( void ); 26: _init(); 27: } 28: 29: EXPORT void _fini_compiler( void ) 30: { 31: IMPORT void _fini( void ); 32: _fini(); 33: }