summaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-05-04 01:00:04 +0000
committerIan Lance Taylor <ian@airs.com>1996-05-04 01:00:04 +0000
commitd4d7d98cbf51944dc852076f54f784883ee62e71 (patch)
treef73a9f9b501194f699c2cc4076145420cc7f5ae1 /gas/config/obj-coff.c
parent8d1d94b6bec5bcfd6a35c384659000f435210883 (diff)
downloadbinutils-gdb-d4d7d98cbf51944dc852076f54f784883ee62e71.tar.gz
* config/obj-coff.c (coff_frob_symbol): Don't merge a symbol with
SF_GET_STATICS set. (yank_symbols): Likewise.
Diffstat (limited to 'gas/config/obj-coff.c')
-rw-r--r--gas/config/obj-coff.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 94078e85c0a..0639d6b44a0 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -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))