]> git.pld-linux.org Git - packages/gcc.git/blob - gcc32-attr-visibility4.patch
- merged lost change:
[packages/gcc.git] / gcc32-attr-visibility4.patch
1 2002-08-23  Jakub Jelinek  <jakub@redhat.com>
2
3         * config/alpha/alpha.c (alpha_encode_section_info): Use
4         MODULE_LOCAL_P.
5
6 --- gcc/config/alpha/alpha.c.jj 2002-05-30 11:12:20.000000000 +0200
7 +++ gcc/config/alpha/alpha.c    2002-08-23 12:05:30.000000000 +0200
8 @@ -1594,7 +1594,7 @@ alpha_encode_section_info (decl)
9    /* Linkonce and weak data is never local.  */
10    else if (DECL_ONE_ONLY (decl) || DECL_WEAK (decl))
11      is_local = false;
12 -  else if (! TREE_PUBLIC (decl))
13 +  else if (! TREE_PUBLIC (decl) || MODULE_LOCAL_P (decl))
14      is_local = true;
15    /* If PIC, then assume that any global name can be overridden by
16       symbols resolved from other modules.  */
This page took 0.034777 seconds and 3 git commands to generate.