aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1998-08-08 22:23:44 +0000
committerRichard Henderson <rth@redhat.com>1998-08-08 22:23:44 +0000
commita582ac33a3bf6bcc8dd52fafdb5a0935b2950a67 (patch)
tree1e9ba758538f0b592c65b1ea6fbd2382325d22fa
parent382fab1a7ac6cd5900baa5c6e04e7f2f2432f3d7 (diff)
downloadgdb-a582ac33a3bf6bcc8dd52fafdb5a0935b2950a67.zip
gdb-a582ac33a3bf6bcc8dd52fafdb5a0935b2950a67.tar.gz
gdb-a582ac33a3bf6bcc8dd52fafdb5a0935b2950a67.tar.bz2
* config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-alpha.c2
2 files changed, 5 insertions, 1 deletions
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 <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>
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