Commit 7179b6db by Richard Henderson Committed by Richard Henderson

* config/alpha/alpha.c (alpha_in_small_data_p): False for functions.

From-SVN: r79054
parent eff3c926
2004-03-06 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_in_small_data_p): False for functions.
2004-03-06 Kazu Hirata <kazu@cs.umass.edu>
* config/ns32k/ns32k-protos.h: Add a prototype for
......
......@@ -1595,6 +1595,10 @@ alpha_in_small_data_p (tree exp)
if (TREE_CODE (exp) == STRING_CST)
return false;
/* Functions are never in the small data area. Duh. */
if (TREE_CODE (exp) == FUNCTION_DECL)
return false;
if (TREE_CODE (exp) == VAR_DECL && 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