diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/mips/mips.c | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 55ad6e9..bfbaae6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2007-07-14 Sandra Loosemore <sandra@codesourcery.com> + Nigel Stephens <nigel@mips.com> + + * config/mips/mips.c (mips_classify_symbol): Don't return + SYMBOL_SMALL_DATA for constant pool addresses if + TARGET_EMBEDDED_DATA is true. + 2007-07-14 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (init_mmx_sse_builtins): Define all builtins diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index 319a871..d94dfa9 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -1448,7 +1448,8 @@ mips_classify_symbol (rtx x) if (TARGET_MIPS16) return SYMBOL_CONSTANT_POOL; - if (GET_MODE_SIZE (get_pool_mode (x)) <= mips_section_threshold) + if (!TARGET_EMBEDDED_DATA + && GET_MODE_SIZE (get_pool_mode (x)) <= mips_section_threshold) return SYMBOL_SMALL_DATA; } |