aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index ec3828e..58f7fb1 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -4259,7 +4259,7 @@ elf_link_add_object_symbols (abfd, info)
}
/* Sanity check that all possibilities were handled. */
- if (flags == BSF_NO_FLAGS || sec == (asection *) NULL)
+ if (sec == (asection *) NULL)
{
bfd_set_error (bfd_error_bad_value);
goto error_return;