diff options
| author | sandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-14 16:56:31 +0000 |
|---|---|---|
| committer | sandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-14 16:56:31 +0000 |
| commit | e85b06c54b44b0da44f3130aafd1a2d3b26244eb (patch) | |
| tree | 92b3db1b1bfb8fe492de2220f17e3154d81e007d | |
| parent | ff87f5fa3417d7a2dd922e5b91303e5df938f329 (diff) | |
| download | ppe42-gcc-e85b06c54b44b0da44f3130aafd1a2d3b26244eb.tar.gz ppe42-gcc-e85b06c54b44b0da44f3130aafd1a2d3b26244eb.zip | |
2007-07-14 Sandra Loosemore <sandra@codesourcery.com>
Nigel Stephens <nigel@mips.com>
gcc/
* config/mips/mips.c (mips_classify_symbol): Don't return
SYMBOL_SMALL_DATA for constant pool addresses if
TARGET_EMBEDDED_DATA is true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126643 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 55ad6e9b35e..bfbaae6b817 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 319a87192de..d94dfa9f287 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; } |

