From a582ac33a3bf6bcc8dd52fafdb5a0935b2950a67 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 8 Aug 1998 22:23:44 +0000 Subject: [PATCH] * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms. --- gas/ChangeLog | 4 ++++ gas/config/tc-alpha.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 67b84b9..cde7df7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Sat Aug 8 15:21:28 1998 Richard Henderson + + * config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms. + start-sanitize-armelf Wed Aug 5 15:54:14 1998 Nick Clifton diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 4f8d86c..15def43 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -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 -- 2.7.4