Changeset 94ab166 in rtems
- Timestamp:
- 11/20/01 18:22:35 (21 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 904e185
- Parents:
- 82a48d0
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/score/ChangeLog
r82a48d0 r94ab166 1 2001-11-20 Joel Sherrill <joel@OARcorp.com> 2 3 * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, 4 invoke the global constructors via __main. Reported as tested by 5 Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov 6 <vvv@oktet.ru> in conjunction with a new set of tool RPMs 7 (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84. 8 1 9 2001-11-07 Joel Sherrill <joel@OARcorp.com> 2 10 -
c/src/exec/score/src/threadhandler.c
r82a48d0 r94ab166 59 59 ISR_Level level; 60 60 Thread_Control *executing; 61 #if defined(__USE_INIT_FINI__) 61 #if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__) 62 62 static char doneConstructors; 63 63 char doneCons; … … 74 74 _ISR_Set_level(level); 75 75 76 #if defined(__USE_INIT_FINI__) 76 #if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__) 77 77 doneCons = doneConstructors; 78 78 doneConstructors = 1; … … 96 96 _init (); 97 97 #endif 98 #if defined(__USE__MAIN__) 99 if (!doneCons) 100 __main (); 101 #endif 102 98 103 99 104 switch ( executing->Start.prototype ) { -
cpukit/score/ChangeLog
r82a48d0 r94ab166 1 2001-11-20 Joel Sherrill <joel@OARcorp.com> 2 3 * src/threadhandler.c: When __USE__MAIN__ is defined by the toolset, 4 invoke the global constructors via __main. Reported as tested by 5 Alexandra Kossovsky <sasha@oktet.ru> and Victor V. Vengerov 6 <vvv@oktet.ru> in conjunction with a new set of tool RPMs 7 (gcc2.95.3newlib1.9.0-3). This was tracked as GNATS PR tools/84. 8 1 9 2001-11-07 Joel Sherrill <joel@OARcorp.com> 2 10 -
cpukit/score/src/threadhandler.c
r82a48d0 r94ab166 59 59 ISR_Level level; 60 60 Thread_Control *executing; 61 #if defined(__USE_INIT_FINI__) 61 #if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__) 62 62 static char doneConstructors; 63 63 char doneCons; … … 74 74 _ISR_Set_level(level); 75 75 76 #if defined(__USE_INIT_FINI__) 76 #if defined(__USE_INIT_FINI__) || defined(__USE__MAIN__) 77 77 doneCons = doneConstructors; 78 78 doneConstructors = 1; … … 96 96 _init (); 97 97 #endif 98 #if defined(__USE__MAIN__) 99 if (!doneCons) 100 __main (); 101 #endif 102 98 103 99 104 switch ( executing->Start.prototype ) {
Note: See TracChangeset
for help on using the changeset viewer.