Commit cdafab3d by Jan Hubicka Committed by Jan Hubicka

* varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.

From-SVN: r206784
parent 053eb1f3
2014-01-19 Jan Hubicka <jh@suse.cz>
* varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
2014-01-19 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
......
......@@ -4060,7 +4060,7 @@ compute_reloc_for_constant (tree exp)
break;
}
if (TREE_PUBLIC (tem))
if (!targetm.binds_local_p (tem))
reloc |= 2;
else
reloc |= 1;
......
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