nds32: Fix a tautological comparison.
This commit is contained in:
parent
25c7861f70
commit
cd28e7aaf3
|
@ -1,3 +1,8 @@
|
||||||
|
2017-09-27 Kuan-Lin Chen <kuanlinchentw@gmail.com>
|
||||||
|
|
||||||
|
* elf32-nds32.c (nds32_elf_relax_section): Fix a tautological
|
||||||
|
comparison.
|
||||||
|
|
||||||
2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
|
2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/22199
|
PR ld/22199
|
||||||
|
|
|
@ -11909,7 +11909,7 @@ nds32_elf_relax_section (bfd *abfd, asection *sec,
|
||||||
* no reloc entry. */
|
* no reloc entry. */
|
||||||
if (bfd_link_relocatable (link_info)
|
if (bfd_link_relocatable (link_info)
|
||||||
|| (sec->flags & SEC_RELOC) == 0
|
|| (sec->flags & SEC_RELOC) == 0
|
||||||
|| (sec->flags & SEC_EXCLUDE) == 1
|
|| (sec->flags & SEC_EXCLUDE) != 0
|
||||||
|| (sec->flags & SEC_CODE) == 0
|
|| (sec->flags & SEC_CODE) == 0
|
||||||
|| sec->size == 0)
|
|| sec->size == 0)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in New Issue