Changeset 444
- Timestamp:
- Jul 25, 2003, 8:07:16 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/config/i386/emx-dllinit.c
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r443 r444 1 /* This is the startup code for gcc.dll (and can be used as well for any other 2 DLL which uses exceptions). It should call __ehInit() as any other dynamic 3 library which uses exceptions, otherwise the C++ programs linked to it will 4 fail to catch exceptions. 5 6 -= This is duplicated in libgcc and this copy must be removed when =- 7 -= we've done a new release! =- 8 9 */ 1 /* This is the startup code for gcc.dll it should not be exposed to anyone 2 else as we don't wanna have duplicate startup code around. The right 3 startup code is in libc. 4 5 */ 10 6 11 7 extern int _CRT_init (void); … … 13 9 extern void __ctordtorTerm (void); 14 10 extern void __ehInitDLL (void); 15 #pragma weak __ehInitDLL 11 /* #pragma weak __ehInitDLL - ld crashing on #pragma weak __ehInitDLL. */ 16 12 extern void __ehTermDLL (void); 17 #pragma weak __ehTermDLL 13 /* #pragma weak __ehTermDLL - ld crashing on #pragma weak __ehTermDLL. */ 18 14 19 15 unsigned long _System _DLL_InitTerm (unsigned long mod_handle, unsigned long flag) … … 24 20 if (_CRT_init () != 0) 25 21 break; 26 if (__ehInitDLL)22 /*if (__ehInitDLL)*/ 27 23 __ehInitDLL (); 28 24 __ctordtorInit (); … … 30 26 case 1: 31 27 __ctordtorTerm (); 32 if (__ehTermDLL)28 /*if (__ehTermDLL)*/ 33 29 __ehTermDLL (); 34 30 return 1; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.