toolchain/arc: update to the most recent release arc-2017.09
[openwrt/staging/mkresin.git] / toolchain / gcc / patches / arc-2017.09-release / 870-ppc_no_crtsavres.patch
1 commit d8c570a1531035c3e26bcd94741e5f5b9c36b5d9
2 Author: Felix Fietkau <nbd@openwrt.org>
3 Date: Mon Mar 5 00:51:01 2012 +0000
4
5 gcc: do not emit references to _savegpr_* and _restgpr_* on powerpc, as they are tricky to deal with wrt. libgcc. they cannot be linked dynamically
6
7 SVN-Revision: 30814
8 --- a/gcc/config/rs6000/rs6000.c
9 +++ b/gcc/config/rs6000/rs6000.c
10 @@ -26936,7 +26936,7 @@ rs6000_savres_strategy (rs6000_stack_t *
11 /* Define cutoff for using out-of-line functions to save registers. */
12 if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
13 {
14 - if (!optimize_size)
15 + if (1)
16 {
17 strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS;
18 strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS;