gcc: add a patch to get rid of useless java class sections
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.8.0 / 870-ppc_no_crtsavres.patch
1 --- a/gcc/config/rs6000/rs6000.c
2 +++ b/gcc/config/rs6000/rs6000.c
3 @@ -17653,7 +17653,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;