Commit 2897f1d4 by H.J. Lu Committed by H.J. Lu

ia64.c (ia64_encode_section_info): Don't prod global register variables.

2004-04-07  H.J. Lu  <hongjiu.lu@intel.com>

	* config/ia64/ia64.c (ia64_encode_section_info): Don't prod
	global register variables.

From-SVN: r80501
parent acc18e7a
2004-04-07 H.J. Lu <hongjiu.lu@intel.com>
* config/ia64/ia64.c (ia64_encode_section_info): Don't prod
global register variables.
2004-04-07 Joseph S. Myers <jsm@polyomino.org.uk>
* fixinc/inclhack.def (rpc_xdr_lvalue_cast_a,
......
......@@ -1116,7 +1116,10 @@ ia64_encode_section_info (tree decl, rtx rtl, int first)
{
default_encode_section_info (decl, rtl, first);
/* Careful not to prod global register variables. */
if (TREE_CODE (decl) == VAR_DECL
&& GET_CODE (DECL_RTL (decl)) == MEM
&& GET_CODE (XEXP (DECL_RTL (decl), 0)) == SYMBOL_REF
&& (TREE_STATIC (decl) || DECL_EXTERNAL (decl)))
ia64_encode_addr_area (decl, XEXP (rtl, 0));
}
......
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