1 |
vapier 08/04/22 05:33:24 |
2 |
|
3 |
Added: 62_all_gcc4-pr27880.patch |
4 |
Removed: 62_all_gcc43-pr27880.patch |
5 |
Log: |
6 |
add relevant upstream links |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 src/patchsets/gcc/4.3.0/gentoo/62_all_gcc4-pr27880.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.3.0/gentoo/62_all_gcc4-pr27880.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/gcc/4.3.0/gentoo/62_all_gcc4-pr27880.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: 62_all_gcc4-pr27880.patch |
15 |
=================================================================== |
16 |
http://gcc.gnu.org/PR27880 |
17 |
http://gcc.gnu.org/ml/gcc-patches/2006-06/msg01023.html |
18 |
|
19 |
2006-06-19 Andreas Schwab <schwab@××××.de> |
20 |
|
21 |
PR target/27880 |
22 |
* unwind-compat.c: Wrap everything except _Unwind_GetIPInfo inside |
23 |
SHARED. |
24 |
* config/t-libunwind (LIB2ADDEHSTATIC): Add |
25 |
$(srcdir)/unwind-compat.c. |
26 |
|
27 |
Index: gcc/config/t-libunwind |
28 |
=================================================================== |
29 |
--- gcc/config/t-libunwind (revision 114767) |
30 |
+++ gcc/config/t-libunwind (working copy) |
31 |
@@ -6,7 +6,8 @@ |
32 |
SHLIB_LC = -lunwind -lc |
33 |
LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \ |
34 |
$(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c |
35 |
-LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c |
36 |
+LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \ |
37 |
+ $(srcdir)/unwind-compat.c |
38 |
|
39 |
T_CFLAGS += -DUSE_LIBUNWIND_EXCEPTIONS |
40 |
TARGET_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER |
41 |
Index: gcc/unwind-compat.c |
42 |
=================================================================== |
43 |
--- gcc/unwind-compat.c (revision 114767) |
44 |
+++ gcc/unwind-compat.c (working copy) |
45 |
@@ -35,6 +35,7 @@ |
46 |
#include "unwind-dw2-fde.h" |
47 |
#include "unwind-compat.h" |
48 |
|
49 |
+#ifdef SHARED |
50 |
extern _Unwind_Reason_Code __libunwind_Unwind_Backtrace |
51 |
(_Unwind_Trace_Fn, void *); |
52 |
|
53 |
@@ -136,13 +137,6 @@ _Unwind_GetIP (struct _Unwind_Context *c |
54 |
} |
55 |
symver (_Unwind_GetIP, GCC_3.0); |
56 |
|
57 |
-_Unwind_Ptr |
58 |
-_Unwind_GetIPInfo (struct _Unwind_Context *context, int *ip_before_insn) |
59 |
-{ |
60 |
- *ip_before_insn = 0; |
61 |
- return __libunwind_Unwind_GetIP (context); |
62 |
-} |
63 |
- |
64 |
extern void *__libunwind_Unwind_GetLanguageSpecificData |
65 |
(struct _Unwind_Context *); |
66 |
|
67 |
@@ -212,4 +206,14 @@ _Unwind_SetIP (struct _Unwind_Context *c |
68 |
return __libunwind_Unwind_SetIP (context, val); |
69 |
} |
70 |
symver (_Unwind_SetIP, GCC_3.0); |
71 |
+#endif /* SHARED */ |
72 |
+ |
73 |
+extern _Unwind_Ptr __libunwind_Unwind_GetIP (struct _Unwind_Context *); |
74 |
+ |
75 |
+_Unwind_Ptr |
76 |
+_Unwind_GetIPInfo (struct _Unwind_Context *context, int *ip_before_insn) |
77 |
+{ |
78 |
+ *ip_before_insn = 0; |
79 |
+ return __libunwind_Unwind_GetIP (context); |
80 |
+} |
81 |
#endif |
82 |
|
83 |
|
84 |
|
85 |
|
86 |
-- |
87 |
gentoo-commits@l.g.o mailing list |