diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch b/meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch deleted file mode 100644 index 6f958fbf77..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | 2010-06-07 Khem Raj <raj.khem@gmail.com> | ||
4 | |||
5 | * libsupc++/eh_arm.cc (__cxa_end_cleanup): Use .pushsection/.popsection | ||
6 | to emit inline assembly into .text section. | ||
7 | |||
8 | Index: gcc-4.5/libstdc++-v3/libsupc++/eh_arm.cc | ||
9 | =================================================================== | ||
10 | --- gcc-4.5.orig/libstdc++-v3/libsupc++/eh_arm.cc 2010-06-04 23:20:18.000000000 -0700 | ||
11 | +++ gcc-4.5/libstdc++-v3/libsupc++/eh_arm.cc 2010-06-08 11:27:34.247541722 -0700 | ||
12 | @@ -157,22 +157,26 @@ __gnu_end_cleanup(void) | ||
13 | // Assembly wrapper to call __gnu_end_cleanup without clobbering r1-r3. | ||
14 | // Also push r4 to preserve stack alignment. | ||
15 | #ifdef __thumb__ | ||
16 | -asm (".global __cxa_end_cleanup\n" | ||
17 | +asm (" .pushsection .text.__cxa_end_cleanup\n" | ||
18 | +" .global __cxa_end_cleanup\n" | ||
19 | " .type __cxa_end_cleanup, \"function\"\n" | ||
20 | " .thumb_func\n" | ||
21 | "__cxa_end_cleanup:\n" | ||
22 | " push\t{r1, r2, r3, r4}\n" | ||
23 | " bl\t__gnu_end_cleanup\n" | ||
24 | " pop\t{r1, r2, r3, r4}\n" | ||
25 | -" bl\t_Unwind_Resume @ Never returns\n"); | ||
26 | +" bl\t_Unwind_Resume @ Never returns\n" | ||
27 | +" .popsection\n"); | ||
28 | #else | ||
29 | -asm (".global __cxa_end_cleanup\n" | ||
30 | +asm (" .pushsection .text.__cxa_end_cleanup\n" | ||
31 | +" .global __cxa_end_cleanup\n" | ||
32 | " .type __cxa_end_cleanup, \"function\"\n" | ||
33 | "__cxa_end_cleanup:\n" | ||
34 | " stmfd\tsp!, {r1, r2, r3, r4}\n" | ||
35 | " bl\t__gnu_end_cleanup\n" | ||
36 | " ldmfd\tsp!, {r1, r2, r3, r4}\n" | ||
37 | -" bl\t_Unwind_Resume @ Never returns\n"); | ||
38 | +" bl\t_Unwind_Resume @ Never returns\n" | ||
39 | +" .popsection\n"); | ||
40 | #endif | ||
41 | |||
42 | #endif | ||