* config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
authorIan Lance Taylor <ian@airs.com>
Sat, 4 May 1996 01:00:04 +0000 (01:00 +0000)
committerIan Lance Taylor <ian@airs.com>
Sat, 4 May 1996 01:00:04 +0000 (01:00 +0000)
SF_GET_STATICS set.
(yank_symbols): Likewise.

gas/ChangeLog
gas/config/obj-coff.c

index c915fc2981fb4f0f1ec5451753b910be504ff621..cd9461ab6f073169e08d50bc4ef68d0544eb4d9e 100644 (file)
@@ -1,3 +1,9 @@
+Fri May  3 17:58:31 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
+       SF_GET_STATICS set.
+       (yank_symbols): Likewise.
+
 Wed May  1 13:38:17 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * subsegs.h (segment_info_type): If MANY_SEGMENTS and not
index 94078e85c0a7114c72ea5b35ec082596e6dc3671..0639d6b44a0c6c419679101c4d60a8dc0cec018a 100644 (file)
@@ -962,6 +962,7 @@ coff_frob_symbol (symp, punt)
     {
       symbolS *real;
       if (!SF_GET_LOCAL (symp)
+         && !SF_GET_STATICS (symp)
          && (real = symbol_find_base (S_GET_NAME (symp), DO_NOT_STRIP))
          && real != symp)
        {
@@ -2600,6 +2601,7 @@ yank_symbols ()
 
          /* L* and C_EFCN symbols never merge. */
          if (!SF_GET_LOCAL (symbolP)
+             && !SF_GET_STATICS (symbolP)
              && S_GET_STORAGE_CLASS (symbolP) != C_LABEL
              && symbolP->sy_value.X_op == O_constant
              && (real_symbolP = symbol_find_base (S_GET_NAME (symbolP), DO_NOT_STRIP))