From: Ian Lance Taylor Date: Mon, 9 Jan 1995 20:52:59 +0000 (+0000) Subject: * elfcode.h (elf_link_add_object_symbols): It's reasonable for no X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f78b3963501fecdd7fe9e11578f49ebf1afe9ed5;p=binutils-gdb.git * elfcode.h (elf_link_add_object_symbols): It's reasonable for no flags to be set, so don't insist otherwise. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 35cb9754bc3..8d8d3f95b87 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 ec3828efa3c..58f7fb133fb 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;