Changeset 548
- Timestamp:
- Aug 8, 2003, 2:09:48 AM (22 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/lib/startup/386/crt0.s
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
r547 r548 63 63 .stabs "___crtexit1__", 21, 0, 0, 0xffffffff 64 64 .stabs "___eh_frame__", 21, 0, 0, 0xffffffff 65 .stabs "___eh_init__", 21, 0, 0, 0xffffffff 66 .stabs "___eh_term__", 21, 0, 0, 0xffffffff 67 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/emx/src/lib/startup/386/dll0.s
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
r547 r548 20 20 cld 21 21 jmp _DLL_InitTerm 22 /* 22 /* 23 23 pushl %ebp 24 24 movl %esp, %ebp … … 29 29 popl %ebp 30 30 ret 31 */ 31 */ 32 32 33 33 .data … … 43 43 .stabs "___crtexit1__", 21, 0, 0, 0xffffffff 44 44 .stabs "___eh_frame__", 21, 0, 0, 0xffffffff 45 .stabs "___eh_init__", 21, 0, 0, 0xffffffff 46 .stabs "___eh_term__", 21, 0, 0, 0xffffffff 47 -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/gcc/config/i386/emx-ctordtor.c
-
Property cvs2svn:cvs-rev
changed from
1.2
to1.3
r547 r548 1 1 /* At startup call all constructor and at shutdown all destructor functions. 2 Optionally initializes frame unwind info ( weak linkage). */2 Optionally initializes frame unwind info (if emx-eh is linked in). */ 3 3 4 4 extern int __CTOR_LIST__; 5 5 extern int __DTOR_LIST__; 6 extern int __eh_init__; 7 extern int __eh_term__; 6 8 extern void __ctordtorInit1 (int *); 7 9 extern void __ctordtorTerm1 (int *); 8 10 9 /** Exception handler stuff init indicator. 0 means not inited, 1 means inited. */11 /** Init indicator. 0 means not inited, 1 means inited. */ 10 12 static int inited; 11 13 extern void __ctordtorInit (void); … … 20 22 { 21 23 inited = 1; 24 __ctordtorInit1 (&__eh_init__); 22 25 __ctordtorInit1 (&__CTOR_LIST__); 23 26 } … … 33 36 inited = 0; 34 37 __ctordtorTerm1 (&__DTOR_LIST__); 38 __ctordtorTerm1 (&__eh_term__); 35 39 } 36 40 } -
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/gcc/config/i386/emx-eh.c
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r547 r548 1 /* This piece of code is linked into the program from gcc .a if any of the2 object files that are linked together use exception (e.g. have exception1 /* This piece of code is linked into the program from gccXYZ.a or libgcc_eh.a 2 if any of the object files in the link are using exception (i.e. have exception 3 3 frame tables inside). The code automatically registers all exception 4 4 tables into a central list (meant to be placed inside gcc*.dll), … … 14 14 /** 15 15 * Inits exception handler stuff. 16 * Intended external caller is _DLL_InitTerm.16 * Called by __ctordtorInit() thru the __eh_init__ vector. 17 17 */ 18 void __ attribute__((constructor)) __ehInit (void)18 void __ehInit (void) 19 19 { 20 20 if (!inited) … … 28 28 /** 29 29 * Terminates exception handler stuff. 30 * Intended external caller is _DLL_InitTerm.30 * Called by __ctordtorTerm() thru the __eh_term__ vector. 31 31 */ 32 void __ attribute__((destructor)) __ehTerm (void)32 void __ehTerm (void) 33 33 { 34 34 if (inited) … … 39 39 } 40 40 } 41 42 /* emx-ctordtor.c will process these. */ 43 __asm__ (".stabs \"___eh_init__\", 23, 0, 0, ___ehInit"); 44 __asm__ (".stabs \"___eh_term__\", 23, 0, 0, ___ehTerm"); -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.