From 25313d6a3f66609ed77058554135835d558c5fec Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 28 Jul 2010 09:36:22 +0000 Subject: [PATCH] PR gas/11841 * symbols.c (symbol_clone): Correct typo in previous patch. --- gas/ChangeLog | 5 +++++ gas/symbols.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2b2f8b73170..aa663c4b3b5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-07-28 Alan Modra + + PR gas/11841 + * symbols.c (symbol_clone): Correct typo in previous patch. + 2010-07-28 Alan Modra PR gas/11841 diff --git a/gas/symbols.c b/gas/symbols.c index 938cf2e91ab..7b5e514a315 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -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); -- 2.30.2