PR gas/11841
authorAlan Modra <amodra@gmail.com>
Wed, 28 Jul 2010 09:36:22 +0000 (09:36 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 28 Jul 2010 09:36:22 +0000 (09:36 +0000)
* symbols.c (symbol_clone): Correct typo in previous patch.

gas/ChangeLog
gas/symbols.c

index 2b2f8b73170f457c374f7edc21a4f1b3134a715e..aa663c4b3b53907c985eeae8346c0e502aba0f2f 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-28  Alan Modra  <amodra@gmail.com>
+
+       PR gas/11841
+       * symbols.c (symbol_clone): Correct typo in previous patch.
+
 2010-07-28  Alan Modra  <amodra@gmail.com>
 
        PR gas/11841
index 938cf2e91ab647b7295bafc065c86ac1302a90e1..7b5e514a315f9805e00a556db7d30a5d49ba1162 100644 (file)
@@ -572,7 +572,7 @@ symbol_clone (symbolS *orgsymP, int replace)
     as_fatal ("bfd_make_empty_symbol: %s", bfd_errmsg (bfd_get_error ()));
   newsymP->bsym = bsymnew;
   bsymnew->name = bsymorg->name;
-  bsymnew->flags = bsymorg->flags & !BSF_SECTION_SYM;
+  bsymnew->flags = bsymorg->flags & ~BSF_SECTION_SYM;
   bsymnew->section = bsymorg->section;
   bfd_copy_private_symbol_data (bfd_asymbol_bfd (bsymorg), bsymorg,
                                bfd_asymbol_bfd (bsymnew), bsymnew);