From f78b3963501fecdd7fe9e11578f49ebf1afe9ed5 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 9 Jan 1995 20:52:59 +0000 Subject: [PATCH] * elfcode.h (elf_link_add_object_symbols): It's reasonable for no flags to be set, so don't insist otherwise. --- bfd/ChangeLog | 5 +++++ bfd/elfcode.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 35cb9754bc..8d8d3f95b8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 9 15:51:32 1995 Ian Lance Taylor + + * 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 * elfcode.h (elf_slurp_symbol_table): Don't set BSF_GLOBAL for an diff --git a/bfd/elfcode.h b/bfd/elfcode.h index ec3828efa3..58f7fb133f 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;