Commit 13b6b42c by Jeff Law

mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in…

mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations on variables in specific sections other than...

x
        * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
        on variables in specific sections other than .sbss and .sdata.

From-SVN: r27038
parent 1945961b
...@@ -3224,7 +3224,11 @@ do \ ...@@ -3224,7 +3224,11 @@ do \
SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1; \ SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1; \
} \ } \
\ \
else if (TARGET_GP_OPT && TREE_CODE (DECL) == VAR_DECL) \ /* We can not perform GP optimizations on variables which are in \
specific sections, except for .sdata and .sbss which are \
handled above. */ \
else if (TARGET_GP_OPT && TREE_CODE (DECL) == VAR_DECL \
&& DECL_SECTION_NAME (DECL) == NULL_TREE) \
{ \ { \
int size = int_size_in_bytes (TREE_TYPE (DECL)); \ int size = int_size_in_bytes (TREE_TYPE (DECL)); \
\ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment