aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-01-09 20:52:59 +0000
committerIan Lance Taylor <ian@airs.com>1995-01-09 20:52:59 +0000
commitf78b3963501fecdd7fe9e11578f49ebf1afe9ed5 (patch)
treec18b8693d41ed16d21b5fba4075f04a45567699c /bfd/elfcode.h
parentd5a7bb73aa378a784342b0d25ba4a95c097823c2 (diff)
downloadgdb-f78b3963501fecdd7fe9e11578f49ebf1afe9ed5.zip
gdb-f78b3963501fecdd7fe9e11578f49ebf1afe9ed5.tar.gz
gdb-f78b3963501fecdd7fe9e11578f49ebf1afe9ed5.tar.bz2
* elfcode.h (elf_link_add_object_symbols): It's reasonable for no
flags to be set, so don't insist otherwise.
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;