aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfcode.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 35cb975..8d8d3f9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 9 15:51:32 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
+
+ * elfcode.h (elf_link_add_object_symbols): It's reasonable for no
+ flags to be set, so don't insist otherwise.
+
Fri Jan 6 16:39:40 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
* elfcode.h (elf_slurp_symbol_table): Don't set BSF_GLOBAL for an
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;