varasm.c (make_decl_one_only): Use declare_weak().

2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* varasm.c (make_decl_one_only): Use declare_weak().

From-SVN: r64044
This commit is contained in:
Franz Sirl 2003-03-09 20:41:31 +00:00 committed by Franz Sirl
parent 4677862a0b
commit e1a0421226
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* varasm.c (make_decl_one_only): Use declare_weak().
2003-03-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR middle-end/9986

View File

@ -4683,7 +4683,7 @@ make_decl_one_only (decl)
DECL_ONE_ONLY (decl) = 1;
}
else if (SUPPORTS_WEAK)
DECL_WEAK (decl) = 1;
declare_weak (decl);
else
abort ();
}