projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db4a825
)
Add missing hunk, due to reject I've missed in my previous commit.
author
Jan Hubicka
<hubicka@gcc.gnu.org>
Wed, 28 Nov 2001 10:16:40 +0000
(10:16 +0000)
committer
Jan Hubicka
<hubicka@gcc.gnu.org>
Wed, 28 Nov 2001 10:16:40 +0000
(10:16 +0000)
From-SVN: r47407
gcc/varasm.c
patch
|
blob
|
history
diff --git
a/gcc/varasm.c
b/gcc/varasm.c
index
b0d96f5
..
9737518
100644
(file)
--- a/
gcc/varasm.c
+++ b/
gcc/varasm.c
@@
-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: