toolchain/gcc: add config symbol to determine how to apply path remapping
[openwrt/openwrt.git] / toolchain / gcc / patches / 8.1.0 / 870-ppc_no_crtsavres.patch
1 --- a/gcc/config/rs6000/rs6000.c
2 +++ b/gcc/config/rs6000/rs6000.c
3 @@ -24424,7 +24424,7 @@ rs6000_savres_strategy (rs6000_stack_t *
4 /* Define cutoff for using out-of-line functions to save registers. */
5 if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
6 {
7 - if (!optimize_size)
8 + if (1)
9 {
10 strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS;
11 strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS;