Commit 3907500b by Richard Henderson Committed by Richard Henderson

* config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.

From-SVN: r65747
parent d22b2e54
2003-04-17 Richard Henderson <rth@redhat.com>
* config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.
2003-04-17 Simon Law <sfllaw@engmail.uwaterloo.ca> 2003-04-17 Simon Law <sfllaw@engmail.uwaterloo.ca>
* doc/include/gpl.texi: Fix double-spacing after "MA" to match * doc/include/gpl.texi: Fix double-spacing after "MA" to match
......
...@@ -7389,6 +7389,10 @@ ia64_in_small_data_p (exp) ...@@ -7389,6 +7389,10 @@ ia64_in_small_data_p (exp)
if (TARGET_NO_SDATA) if (TARGET_NO_SDATA)
return false; return false;
/* We want to merge strings, so we never consider them small data. */
if (TREE_CODE (exp) == STRING_CST)
return false;
if (TREE_CODE (exp) == VAR_DECL && DECL_SECTION_NAME (exp)) if (TREE_CODE (exp) == VAR_DECL && DECL_SECTION_NAME (exp))
{ {
const char *section = TREE_STRING_POINTER (DECL_SECTION_NAME (exp)); const char *section = TREE_STRING_POINTER (DECL_SECTION_NAME (exp));
......
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