* elfcode.h (elf_link_add_object_symbols): It's reasonable for no

flags to be set, so don't insist otherwise.
This commit is contained in:
Ian Lance Taylor 1995-01-09 20:52:59 +00:00
parent d5a7bb73aa
commit f78b396350
2 changed files with 6 additions and 1 deletions

View 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

View 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;