Add missing hunk, due to reject I've missed in my previous commit.
authorJan Hubicka <hubicka@gcc.gnu.org>
Wed, 28 Nov 2001 10:16:40 +0000 (10:16 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 28 Nov 2001 10:16:40 +0000 (10:16 +0000)
From-SVN: r47407

gcc/varasm.c

index b0d96f5..9737518 100644 (file)
@@ -4225,7 +4225,10 @@ output_addressed_constants (exp)
            || TREE_CODE (tem) == CONSTRUCTOR)
          output_constant_def (tem, 0);
 
-      reloc = 1;
+      if (TREE_PUBLIC (tem))
+       reloc |= 2;
+      else
+       reloc |= 1;
       break;
 
     case PLUS_EXPR: