diff options
author | Kuan-Lin Chen <kuanlinchentw@gmail.com> | 2017-09-27 13:04:35 +0800 |
---|---|---|
committer | Kuan-Lin Chen <kuanlinchentw@gmail.com> | 2017-09-27 13:07:19 +0800 |
commit | cd28e7aaf35f7de5033ecd619b56064136bb190b (patch) | |
tree | 8774e7bfbf0f462964a6299144efe06bba9cbb89 /bfd/elf32-nds32.c | |
parent | 25c7861f70b2fcde6c4e3454c269da20ff141883 (diff) | |
download | gdb-cd28e7aaf35f7de5033ecd619b56064136bb190b.zip gdb-cd28e7aaf35f7de5033ecd619b56064136bb190b.tar.gz gdb-cd28e7aaf35f7de5033ecd619b56064136bb190b.tar.bz2 |
nds32: Fix a tautological comparison.
Diffstat (limited to 'bfd/elf32-nds32.c')
-rw-r--r-- | bfd/elf32-nds32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-nds32.c b/bfd/elf32-nds32.c index 0b0de62..ddf1465 100644 --- a/bfd/elf32-nds32.c +++ b/bfd/elf32-nds32.c @@ -11909,7 +11909,7 @@ nds32_elf_relax_section (bfd *abfd, asection *sec, * no reloc entry. */ if (bfd_link_relocatable (link_info) || (sec->flags & SEC_RELOC) == 0 - || (sec->flags & SEC_EXCLUDE) == 1 + || (sec->flags & SEC_EXCLUDE) != 0 || (sec->flags & SEC_CODE) == 0 || sec->size == 0) return TRUE; |