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

From-SVN: r206784
This commit is contained in:
Jan Hubicka 2014-01-20 00:12:24 +01:00 committed by Jan Hubicka
parent 053eb1f31e
commit cdafab3de6
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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> 2014-01-19 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa.c (pa_attr_length_millicode_call): Correct length of * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of

View File

@ -4060,7 +4060,7 @@ compute_reloc_for_constant (tree exp)
break; break;
} }
if (TREE_PUBLIC (tem)) if (!targetm.binds_local_p (tem))
reloc |= 2; reloc |= 2;
else else
reloc |= 1; reloc |= 1;