* 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 35cb9754bc39a2bdf1169d6a4d4ea629b2bc1f2e..8d8d3f95b8710ced1e4f49749c2944086897cb03 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 ec3828efa3cd11752539e31c17801162dafbb17c..58f7fb133fb1c01eaf8548f56f652e78236471cf 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;