diff options
author | Alan Modra <amodra@gmail.com> | 2010-07-28 09:36:22 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-07-28 09:36:22 +0000 |
commit | 25313d6a3f66609ed77058554135835d558c5fec (patch) | |
tree | bbde709ebbb20c872fd7e2c13f64a019fce2ebfb /gas | |
parent | 9d75b2885f7b3f98a5b4485362a95bf5b67cca6f (diff) | |
download | gdb-25313d6a3f66609ed77058554135835d558c5fec.zip gdb-25313d6a3f66609ed77058554135835d558c5fec.tar.gz gdb-25313d6a3f66609ed77058554135835d558c5fec.tar.bz2 |
PR gas/11841
* symbols.c (symbol_clone): Correct typo in previous patch.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/symbols.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2b2f8b7..aa663c4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,6 +1,11 @@ 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 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag. 2010-07-28 Alan Modra <amodra@gmail.com> diff --git a/gas/symbols.c b/gas/symbols.c index 938cf2e..7b5e514 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); |