summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-07 10:51:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-12 14:12:09 +0100
commitd2b4818c5cca291f90c5acc9a2316d807ef9fa26 (patch)
treed6e9042b98366e4e3fe8fe397cc18958bebf847d /meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch
parent9167557fb94b94f4fca8cf2cdfacbc0cf783b49d (diff)
downloadpoky-d2b4818c5cca291f90c5acc9a2316d807ef9fa26.tar.gz
gcc: Drop old version 4.5.1
(From OE-Core rev: 59443380286010eda07f1434e918a3af8c8a31a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch42
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 @@
1Upstream-Status: Pending
2
32010-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
8Index: 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