gonzui


Format: Advanced Search

tkernel_2/lib/crt/crt0/src/sysdepend/tef_em1d/crt1f.Sbare sourcepermlink (0.00 seconds)

Search this content:

    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:  *      crt1f.S
   17:  *
   18:  *      C startup
   19:  *
   20:  *      Static link version
   21:  *      Shared library loader is not linked.
   22:  */
   23: 
   24: #include <machine.h>
   25: 
   26:         .data
   27:         .globl Csym(__initloading)
   28:         .globl Csym(__callinit)
   29:         .globl Csym(__callfini)
   30: 
   31:         .balign        4
   32: Csym(__initloading):    .int       initloading
   33: Csym(__callinit):       .int  Csym(_init)
   34: Csym(__callfini):       .int  Csym(_fini)
   35: 
   36:         .text
   37:         .balign        4
   38: initloading:
   39:         /* do nothing */
   40:         bx lr