Replace all 5 BFD_FAILURE's with false's.
authorJohn Gilmore <gnu@cygnus>
Fri, 26 Apr 1991 16:32:55 +0000 (16:32 +0000)
committerJohn Gilmore <gnu@cygnus>
Fri, 26 Apr 1991 16:32:55 +0000 (16:32 +0000)
bfd/coff-code.h

index 979e34d9301485177208505c12855b29d6278436..bc07f796888842758020a3734b409dc298ce562f 100755 (executable)
@@ -252,7 +252,7 @@ DEFUN(make_a_section_from_file,(abfd, hdr),
        char           *name = bfd_alloc(abfd, 9);
        if (name == NULL) {
            bfd_error = no_memory;
-           return (BFD_FAILURE);
+           return false;
        }                       /* on error */
        strncpy(name, (char *) &hdr->s_name[0], 8);
 
@@ -1904,7 +1904,7 @@ coff_slurp_line_table(abfd, asect)
        (alent *) bfd_alloc(abfd, (size_t) ((asect->lineno_count + 1) * sizeof(alent)));
     if (lineno_cache == NULL) {
        bfd_error = no_memory;
-       return (BFD_FAILURE);
+       return false;
     } {                                /* on error */
        unsigned int    counter = 0;
        alent          *cache_ptr = lineno_cache;
@@ -2010,7 +2010,7 @@ coff_slurp_symbol_table(abfd)
 
     if (cached_area == NULL) {
        bfd_error = no_memory;
-       return (BFD_FAILURE);
+       return false;
     }                          /* on error */
     table_ptr =
        (unsigned int *)
@@ -2018,7 +2018,7 @@ coff_slurp_symbol_table(abfd)
 
     if (table_ptr == NULL) {
        bfd_error = no_memory;
-       return (BFD_FAILURE);
+       return false;
     } {                                /* on error */
        coff_symbol_type *dst = cached_area;
        unsigned int    last_native_index = bfd_get_symcount(abfd);
@@ -2247,7 +2247,7 @@ coff_slurp_reloc_table(abfd, asect, symbols)
 
   if (reloc_cache == NULL) {
     bfd_error = no_memory;
-    return (BFD_FAILURE);
+    return false;
   } {                          /* on error */
     arelent        *cache_ptr;
     struct reloc   *src;