* config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.

This commit is contained in:
Richard Henderson 1998-08-08 22:23:44 +00:00
parent 382fab1a7a
commit a582ac33a3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sat Aug 8 15:21:28 1998 Richard Henderson <rth@cygnus.com>
* config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
start-sanitize-armelf
Wed Aug 5 15:54:14 1998 Nick Clifton <nickc@cygnus.com>

View File

@ -1341,7 +1341,7 @@ alpha_fix_adjustable (f)
{
#ifdef OBJ_ELF
/* Prevent all adjustments to global symbols */
if (S_IS_EXTERN (f->fx_addsy))
if (S_IS_EXTERN (f->fx_addsy) || S_IS_WEAK (f->fx_addsy))
return 0;
#endif