Changeset d104778 in rtems


Ignore:
Timestamp:
Nov 5, 2008, 9:50:11 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
a2ddf1ca
Parents:
c41f9d6
Message:

2008-11-05 Joel Sherrill <joel.sherrill@…>

  • score/src/threadhandler.c: M32R uses different name for init.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rc41f9d6 rd104778  
     12008-11-05      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * score/src/threadhandler.c: M32R uses different name for init.
     4
    152008-11-05      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • cpukit/score/src/threadhandler.c

    rc41f9d6 rd104778  
    3636
    3737#if defined(__USE_INIT_FINI__)
    38   extern void _init(void);
     38  #if defined(__M32R__)
     39    #define INIT_NAME __init
     40  #else
     41    #define INIT_NAME _init
     42  #endif
     43
     44  extern void INIT_NAME(void);
    3945#endif
    4046#if defined(__USE__MAIN__)
     
    132138  if (!doneCons) /* && (volatile void *)_init) */
    133139  {
    134     _init ();
     140    INIT_NAME ();
    135141  }
    136142#endif
Note: See TracChangeset for help on using the changeset viewer.