Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 1 | --- t/gcc-4.4.1/gcc/crtstuff.c Fr. Apr 10 01:23:07 2009 |
| 2 | +++ gcc-4.4.1/gcc/crtstuff.c Di. Jul 28 16:43:28 2009 |
| 3 | @@ -204,6 +204,7 @@ |
| 4 | = { (func_ptr) (-1) }; |
| 5 | #endif /* __DTOR_LIST__ alternatives */ |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 6 | |
Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 7 | +#if 0 |
| 8 | #ifdef USE_EH_FRAME_REGISTRY |
| 9 | /* Stick a label at the beginning of the frame unwind info so we can register |
| 10 | and deregister it with the exception handling library code. */ |
| 11 | @@ -219,6 +220,7 @@ |
| 12 | __attribute__ ((unused, section(JCR_SECTION_NAME), aligned(sizeof(void*)))) |
| 13 | = { }; |
| 14 | #endif /* JCR_SECTION_NAME */ |
| 15 | +#endif |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 16 | |
Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 17 | #if defined(INIT_SECTION_ASM_OP) || defined(INIT_ARRAY_SECTION_ASM_OP) |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 18 | |
Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 19 | @@ -309,6 +311,7 @@ |
| 20 | } |
| 21 | #endif /* !defined(FINI_ARRAY_SECTION_ASM_OP) */ |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 22 | |
Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 23 | +#if 0 |
| 24 | #ifdef USE_EH_FRAME_REGISTRY |
| 25 | #ifdef CRT_GET_RFIB_DATA |
| 26 | /* If we used the new __register_frame_info_bases interface, |
| 27 | @@ -320,6 +323,7 @@ |
| 28 | __deregister_frame_info (__EH_FRAME_BEGIN__); |
| 29 | #endif |
| 30 | #endif |
| 31 | +#endif |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 32 | |
Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 33 | completed = 1; |
| 34 | } |
| 35 | @@ -333,6 +337,7 @@ |
| 36 | = { __do_global_dtors_aux }; |
| 37 | #endif /* !defined(FINI_SECTION_ASM_OP) */ |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 38 | |
Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 39 | +#if 0 |
| 40 | #if defined(USE_EH_FRAME_REGISTRY) || defined(JCR_SECTION_NAME) |
| 41 | /* Stick a call to __register_frame_info into the .init section. For some |
| 42 | reason calls with no arguments work more reliably in .init, so stick the |
| 43 | @@ -364,6 +369,7 @@ |
| 44 | } |
| 45 | #endif /* JCR_SECTION_NAME */ |
| 46 | } |
| 47 | +#endif |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 48 | |
Stefan Reinauer | 074d913 | 2009-09-26 16:43:17 +0000 | [diff] [blame] | 49 | #ifdef INIT_SECTION_ASM_OP |
| 50 | CRT_CALL_STATIC_FUNCTION (INIT_SECTION_ASM_OP, frame_dummy) |