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 67b84b9a1b5..cde7df7ae26 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 4f8d86ce99d..15def43a9f3 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.30.2