Scan dynamic libraries for GC roots
[delight/core.git] / patches / patch-gcc-darwin-eh-3.4.x
blob9546e43667488ec40c3866c65bfc58c46777aa04
1 *** gcc-orig/config/darwin.h    Sat Sep 11 16:32:17 2004
2 --- gcc/config/darwin.h Wed Jan 19 17:07:34 2005
3 ***************
4 *** 644,650 ****
5                 ".section __DATA,__gcc_except_tab", 0)  \
6   SECTION_FUNCTION (darwin_eh_frame_section,            \
7                 in_darwin_eh_frame,                     \
8 !               ".section __TEXT,__eh_frame", 0)        \
9                                                         \
10   static void                                   \
11   objc_section_init (void)                      \
12 --- 644,650 ----
13                 ".section __DATA,__gcc_except_tab", 0)  \
14   SECTION_FUNCTION (darwin_eh_frame_section,            \
15                 in_darwin_eh_frame,                     \
16 !               ".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms", 0)/*df*/       \
17                                                         \
18   static void                                   \
19   objc_section_init (void)                      \
20 *** gcc-orig/dwarf2out.c        Mon Oct 25 17:46:45 2004
21 --- gcc/dwarf2out.c     Sat May  7 21:19:29 2005
22 ***************
23 *** 390,396 ****
24 --- 390,400 ----
25   #define FUNC_END_LABEL                "LFE"
26   #endif
27   
28 + #ifdef DARWIN_REGISTER_TARGET_PRAGMAS
29 + #define FRAME_BEGIN_LABEL     "EH_frame"
30 + #else
31   #define FRAME_BEGIN_LABEL     "Lframe"
32 + #endif
33   #define CIE_AFTER_SIZE_LABEL  "LSCIE"
34   #define CIE_END_LABEL         "LECIE"
35   #define FDE_LABEL             "LSFDE"