From ac9b0eeae0cd0d51908039aae35d1dff6a1486aa Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 12 Jul 2010 19:09:35 +0000 Subject: [PATCH] mips.c (mips_override_options): Make -mflip-mips16 imply -minterlink-mips16. gcc/ * config/mips/mips.c (mips_override_options): Make -mflip-mips16 imply -minterlink-mips16. From-SVN: r162112 --- gcc/ChangeLog | 5 +++++ gcc/config/mips/mips.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b8a77560014..2c991f07001 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-12 Richard Sandiford + + * config/mips/mips.c (mips_override_options): Make -mflip-mips16 + imply -minterlink-mips16. + 2010-07-12 Richard Sandiford * config/mips/mips.h (mips16_globals): Declare. diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 5fb2fc09dcd..c4938f6f0ef 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -15446,6 +15446,9 @@ mips_override_options (void) target_flags_explicit |= MASK_SOFT_FLOAT_ABI; } + if (TARGET_FLIP_MIPS16) + TARGET_INTERLINK_MIPS16 = 1; + /* Set the small data limit. */ mips_small_data_threshold = (g_switch_set ? g_switch_value