diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e0034bb8ac..552e4f57dc1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-10-09 Kaz Kojima + + * config/sh/sh.c (emit_fpu_switch): Set TREE_PUBLIC for + __fpscr_values. + 2005-10-09 Daniel Jacobowitz * config.gcc (arm*-*-linux*): Remove redundant extra_parts and diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index f1ac27c617d..3f1132aef7d 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -7872,6 +7872,7 @@ emit_fpu_switch (rtx scratch, int index) DECL_IGNORED_P (t) = 1; DECL_EXTERNAL (t) = 1; TREE_STATIC (t) = 1; + TREE_PUBLIC (t) = 1; TREE_USED (t) = 1; fpscr_values = t;