Changeset 66565bb in rtems for cpukit/score/src/threadhandler.c


Ignore:
Timestamp:
Mar 18, 2003, 7:24:13 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
73e3614
Parents:
ab504d3
Message:

2003-03-18 Till Straumann <strauman@…>

PR 356/bsps

  • src/threadhandlerc: This patch makes RTEMS/PowerPC eabi compliant. Let Thread_Handler verify that _init/_main are non-NULL before calling them (gives the linker script/user more freedom to handle special cases).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/threadhandler.c

    rab504d3 r66565bb  
    110110  _Thread_Enable_dispatch();
    111111#if defined(__USE_INIT_FINI__)
    112   if (!doneCons)
     112  if (!doneCons && _init)
    113113    _init ();
    114114#endif
    115115#if defined(__USE__MAIN__)
    116   if (!doneCons)
     116  if (!doneCons && _main)
    117117    __main ();
    118118#endif
Note: See TracChangeset for help on using the changeset viewer.