* config/tc-alpha.c (alpha_fix_adjustable): Don't adjust weak syms.
authorRichard Henderson <rth@redhat.com>
Sat, 8 Aug 1998 22:23:44 +0000 (22:23 +0000)
committerRichard Henderson <rth@redhat.com>
Sat, 8 Aug 1998 22:23:44 +0000 (22:23 +0000)
gas/ChangeLog
gas/config/tc-alpha.c

index 67b84b9a1b5ae3401af89ba32028bf6749d6e317..cde7df7ae26e2d71300bdec45da486ea2961ab74 100644 (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>
 
index 4f8d86ce99d5ca565b86a024f750b01082a10d11..15def43a9f320a9dbfe899068149201898fa7231 100644 (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