From: John Gilmore Date: Fri, 26 Apr 1991 16:32:55 +0000 (+0000) Subject: Replace all 5 BFD_FAILURE's with false's. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=44954de0f63c9cb4df4c41ffb9773957f49b2d01;p=binutils-gdb.git Replace all 5 BFD_FAILURE's with false's. --- diff --git a/bfd/coff-code.h b/bfd/coff-code.h index 979e34d9301..bc07f796888 100755 --- a/bfd/coff-code.h +++ b/bfd/coff-code.h @@ -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;