Commit 0dc92bf6 by Jim Wilson

(SELECT_SECTION): Put object in sdata only if size is known, i.e.

(SELECT_SECTION): Put object in sdata only if size is
known, i.e. greater than 0.

From-SVN: r5185
parent f0343c74
...@@ -3448,7 +3448,9 @@ rdata_section () \ ...@@ -3448,7 +3448,9 @@ rdata_section () \
#define SELECT_SECTION(DECL, RELOC) \ #define SELECT_SECTION(DECL, RELOC) \
{ \ { \
if (int_size_in_bytes (TREE_TYPE (DECL)) <= mips_section_threshold \ int size = int_size_in_bytes (TREE_TYPE (DECL)); \
\
if (size <= mips_section_threshold && size > 0 \
&& mips_section_threshold > 0) \ && mips_section_threshold > 0) \
sdata_section (); \ sdata_section (); \
\ \
......
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