diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e417b189bd7f..9f31bf45539b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-17 Richard Henderson + + * config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings. + 2003-04-17 Simon Law * doc/include/gpl.texi: Fix double-spacing after "MA" to match diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index d7aadb3283fa..ff290bdd78d1 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -7389,6 +7389,10 @@ ia64_in_small_data_p (exp) if (TARGET_NO_SDATA) 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)) { const char *section = TREE_STRING_POINTER (DECL_SECTION_NAME (exp));