* elfcode.h (elf_link_add_object_symbols): It's reasonable for no
authorIan Lance Taylor <ian@airs.com>
Mon, 9 Jan 1995 20:52:59 +0000 (20:52 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 9 Jan 1995 20:52:59 +0000 (20:52 +0000)
flags to be set, so don't insist otherwise.

bfd/ChangeLog
bfd/elfcode.h

index 35cb975..8d8d3f9 100644 (file)
@@ -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
index ec3828e..58f7fb1 100644 (file)
@@ -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;