Set bfd_error to no_symbols if the symbols could not be read.
[deliverable/binutils-gdb.git] / bfd / nlm32-i386.c
index a33013499bca5d7d043dfe9decaf123b5a1a94ea..095ab63f96cf33ad2d06d69046c3c504c9d13595 100644 (file)
@@ -1,5 +1,5 @@
 /* Support for 32-bit i386 NLM (NetWare Loadable Module)
-   Copyright 1993, 1994, 2000, 2001 Free Software Foundation, Inc.
+   Copyright 1993, 1994, 2000, 2001, 2002 Free Software Foundation, Inc.
 
 This file is part of BFD, the Binary File Descriptor library.
 
@@ -234,7 +234,7 @@ nlm_i386_write_import (abfd, sec, rel)
   return true;
 }
 
-/* I want to be able to use objcopy to turn a i386 a.out or COFF file
+/* I want to be able to use objcopy to turn an i386 a.out or COFF file
    into a NetWare i386 module.  That means that the relocs from the
    source file have to be mapped into relocs that apply to the target
    file.  This function is called by nlm_set_section_contents to give
@@ -378,9 +378,7 @@ nlm_i386_read_import (abfd, sym)
     {
       asection *section;
 
-      if (nlm_i386_read_reloc (abfd, sym, &section,
-                              &nlm_relocs -> reloc)
-         == false)
+      if (! nlm_i386_read_reloc (abfd, sym, &section, &nlm_relocs -> reloc))
        return false;
       nlm_relocs -> section = section;
       nlm_relocs++;
@@ -414,8 +412,7 @@ nlm_i386_write_external (abfd, count, sym, relocs)
 
   for (i = 0; i < count; i++)
     {
-      if (nlm_i386_write_import (abfd, relocs[i].sec,
-                                relocs[i].rel) == false)
+      if (! nlm_i386_write_import (abfd, relocs[i].sec, relocs[i].rel))
        return false;
     }
 
This page took 0.024043 seconds and 4 git commands to generate.