PR gas/11841

* symbols.c (symbol_clone): Correct typo in previous patch.
This commit is contained in:
Alan Modra 2010-07-28 09:36:22 +00:00
parent 9d75b2885f
commit 25313d6a3f
2 changed files with 6 additions and 1 deletions

View 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

View 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);