]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
authorJan Hubicka <jh@suse.cz>
Sun, 19 Jan 2014 23:12:24 +0000 (00:12 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 19 Jan 2014 23:12:24 +0000 (23:12 +0000)
From-SVN: r206784

gcc/ChangeLog
gcc/varasm.c

index 652d2c902aa587d442023c04e63b45e55a21141b..5f89ce166117e2af2eb3bbcccf56122720e7b3ff 100644 (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>
 
        * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
index 6a41644045ef65ba703225674e2f1768c29d167c..c975bfb9d702482694f387492f73afa4a1e05dd7 100644 (file)
@@ -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;