diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-11-08 08:30:41 -0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-11-18 13:30:25 -0800 |
commit | b1dd356f5eab11fa6fc18013189e51c13fdd763b (patch) | |
tree | a1c8e13223ea108b88507c35dfdf0c1b9d6f1edb /meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch | |
parent | caf8fe37496f49ed920036ac8763ec56b0029570 (diff) | |
download | poky-b1dd356f5eab11fa6fc18013189e51c13fdd763b.tar.gz |
gcc: upgrade from 4.5.0 to 4.5.1
Removed these patches which are not needed anymore.
gcc-4.5.0_to_svn_162697.patch.bz2 : All the commits in this patch is
part of the 4.5.1 branch. So moving to 4.5.1 makes this patch
obsolete
gcc_revert_base_version_to_4.5.0.patch: moving to 4.5.1 removes need
of this patch
gcc-pr43698-arm-rev-instr.patch: upstream has this fix.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
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 | 40 |
1 files changed, 40 insertions, 0 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 new file mode 100644 index 0000000000..ada36a5914 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.5.1/libstdc++-emit-__cxa_end_cleanup-in-text.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | 2010-06-07 Khem Raj <raj.khem@gmail.com> | ||
2 | |||
3 | * libsupc++/eh_arm.cc (__cxa_end_cleanup): Use .pushsection/.popsection | ||
4 | to emit inline assembly into .text section. | ||
5 | |||
6 | Index: gcc-4.5/libstdc++-v3/libsupc++/eh_arm.cc | ||
7 | =================================================================== | ||
8 | --- gcc-4.5.orig/libstdc++-v3/libsupc++/eh_arm.cc 2010-06-04 23:20:18.000000000 -0700 | ||
9 | +++ gcc-4.5/libstdc++-v3/libsupc++/eh_arm.cc 2010-06-08 11:27:34.247541722 -0700 | ||
10 | @@ -157,22 +157,26 @@ __gnu_end_cleanup(void) | ||
11 | // Assembly wrapper to call __gnu_end_cleanup without clobbering r1-r3. | ||
12 | // Also push r4 to preserve stack alignment. | ||
13 | #ifdef __thumb__ | ||
14 | -asm (".global __cxa_end_cleanup\n" | ||
15 | +asm (" .pushsection .text.__cxa_end_cleanup\n" | ||
16 | +" .global __cxa_end_cleanup\n" | ||
17 | " .type __cxa_end_cleanup, \"function\"\n" | ||
18 | " .thumb_func\n" | ||
19 | "__cxa_end_cleanup:\n" | ||
20 | " push\t{r1, r2, r3, r4}\n" | ||
21 | " bl\t__gnu_end_cleanup\n" | ||
22 | " pop\t{r1, r2, r3, r4}\n" | ||
23 | -" bl\t_Unwind_Resume @ Never returns\n"); | ||
24 | +" bl\t_Unwind_Resume @ Never returns\n" | ||
25 | +" .popsection\n"); | ||
26 | #else | ||
27 | -asm (".global __cxa_end_cleanup\n" | ||
28 | +asm (" .pushsection .text.__cxa_end_cleanup\n" | ||
29 | +" .global __cxa_end_cleanup\n" | ||
30 | " .type __cxa_end_cleanup, \"function\"\n" | ||
31 | "__cxa_end_cleanup:\n" | ||
32 | " stmfd\tsp!, {r1, r2, r3, r4}\n" | ||
33 | " bl\t__gnu_end_cleanup\n" | ||
34 | " ldmfd\tsp!, {r1, r2, r3, r4}\n" | ||
35 | -" bl\t_Unwind_Resume @ Never returns\n"); | ||
36 | +" bl\t_Unwind_Resume @ Never returns\n" | ||
37 | +" .popsection\n"); | ||
38 | #endif | ||
39 | |||
40 | #endif | ||