Changeset 1ff385c in rtems


Ignore:
Timestamp:
03/08/06 18:55:45 (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9b7443c
Parents:
15096905
Message:

2006-03-08 Joel Sherrill <joel@…>

PR 761/rtems

  • score/src/threadhandler.c: Add volatile cast so test is weak function is present will do something. Otherwise, it can be assume by gcc to always be a true condition.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r15096905 r1ff385c  
     12006-03-08      Joel Sherrill <joel@OARcorp.com>
     2
     3        PR 761/rtems
     4        * score/src/threadhandler.c: Add volatile cast so test is weak function
     5        is present will do something. Otherwise, it can be assume by gcc to
     6        always be a true condition.
     7
    182006-03-08      Joel Sherrill <joel@OARcorp.com>
    29
  • cpukit/score/src/threadhandler.c

    r15096905 r1ff385c  
    114114  _Thread_Enable_dispatch();
    115115#if defined(__USE_INIT_FINI__)
    116   if (!doneCons && _init)
     116  if (!doneCons && (volatile void *)_init)
    117117    _init ();
    118118#endif
Note: See TracChangeset for help on using the changeset viewer.