mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 17:48:58 +00:00
445604a915
-fno-plt and musl-libc patches already get upstream, then dropped in GCC 6. Other patches are almost identical compared to GCC 5.4. Compile and run tested on ar71xx/Qihoo C301 and mvebu/Linksys WRT1900ac v1 Signed-off-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
12 lines
408 B
Diff
12 lines
408 B
Diff
--- a/gcc/config/rs6000/rs6000.c
|
|
+++ b/gcc/config/rs6000/rs6000.c
|
|
@@ -23090,7 +23090,7 @@ rs6000_savres_strategy (rs6000_stack_t *
|
|
/* Define cutoff for using out-of-line functions to save registers. */
|
|
if (DEFAULT_ABI == ABI_V4 || TARGET_ELF)
|
|
{
|
|
- if (!optimize_size)
|
|
+ if (1)
|
|
{
|
|
strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS;
|
|
strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS;
|