forked from Imagelibrary/binutils-gdb
* aout-adobe.c: Don't compare against "true" or "false.
* aout-target.h: Likewise. * aoutx.h: Likewise. * archive.c: Likewise. * bout.c: Likewise. * cache.c: Likewise. * coff-a29k.c: Likewise. * coff-alpha.c: Likewise. * coff-i386.c: Likewise. * coff-mips.c: Likewise. * coff-or32.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * coffgen.c: Likewise. * cpu-ns32k.c: Likewise. * ecoff.c: Likewise. * ecofflink.c: Likewise. * elf.c: Likewise. * elf32-arm.h: Likewise. * elf32-cris.c: Likewise. * elf32-d30v.c: Likewise. * elf32-i386.c: Likewise. * elf32-mcore.c: Likewise. * elf32-ppc.c: Likewise. * elf32-sh.c: Likewise. * elf32-sh64.c: Likewise. * elf32-v850.c: Likewise. * elf64-alpha.c: Likewise. * elf64-sh64.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.h: Likewise. * elfxx-mips.c: Likewise. * i386os9k.c: Likewise. * ieee.c: Likewise. * libbfd.c: Likewise. * linker.c: Likewise. * mmo.c: Likewise. * nlm32-alpha.c: Likewise. * nlm32-i386.c: Likewise. * nlm32-ppc.c: Likewise. * nlm32-sparc.c: Likewise. * nlmcode.h: Likewise. * oasys.c: Likewise. * pdp11.c: Likewise. * peicode.h: Likewise. * reloc.c: Likewise. * som.c: Likewise. * srec.c: Likewise. * tekhex.c: Likewise. * vms.c: Likewise. * xcofflink.c: Likewise. * elf64-sparc.c: Edit comment to not use "== false". * aoutf1.h: Don't use "? true : false". * ecoff.c: Likewise. * format.c: Likewise. * ieee.c: Likewise. * linker.c: Likewise. * mmo.c: Likewise. * oasys.c: Likewise.
This commit is contained in:
27
bfd/ecoff.c
27
bfd/ecoff.c
@@ -125,7 +125,7 @@ _bfd_ecoff_mkobject_hook (abfd, filehdr, aouthdr)
|
||||
struct internal_aouthdr *internal_a = (struct internal_aouthdr *) aouthdr;
|
||||
ecoff_data_type *ecoff;
|
||||
|
||||
if (_bfd_ecoff_mkobject (abfd) == false)
|
||||
if (! _bfd_ecoff_mkobject (abfd))
|
||||
return NULL;
|
||||
|
||||
ecoff = ecoff_data (abfd);
|
||||
@@ -1056,7 +1056,7 @@ _bfd_ecoff_get_symtab (abfd, alocation)
|
||||
ecoff_symbol_type *symbase;
|
||||
ecoff_symbol_type **location = (ecoff_symbol_type **) alocation;
|
||||
|
||||
if (_bfd_ecoff_slurp_symbol_table (abfd) == false)
|
||||
if (! _bfd_ecoff_slurp_symbol_table (abfd))
|
||||
return -1;
|
||||
if (bfd_get_symcount (abfd) == 0)
|
||||
return 0;
|
||||
@@ -1677,7 +1677,7 @@ ecoff_slurp_reloc_table (abfd, section, symbols)
|
||||
|| (section->flags & SEC_CONSTRUCTOR) != 0)
|
||||
return true;
|
||||
|
||||
if (_bfd_ecoff_slurp_symbol_table (abfd) == false)
|
||||
if (! _bfd_ecoff_slurp_symbol_table (abfd))
|
||||
return false;
|
||||
|
||||
amt = section->reloc_count;
|
||||
@@ -1793,7 +1793,7 @@ _bfd_ecoff_canonicalize_reloc (abfd, section, relptr, symbols)
|
||||
{
|
||||
arelent *tblptr;
|
||||
|
||||
if (ecoff_slurp_reloc_table (abfd, section, symbols) == false)
|
||||
if (! ecoff_slurp_reloc_table (abfd, section, symbols))
|
||||
return -1;
|
||||
|
||||
tblptr = section->relocation;
|
||||
@@ -2267,7 +2267,7 @@ _bfd_ecoff_set_section_contents (abfd, section, location, offset, count)
|
||||
|
||||
/* This must be done first, because bfd_set_section_contents is
|
||||
going to set output_has_begun to true. */
|
||||
if (abfd->output_has_begun == false)
|
||||
if (! abfd->output_has_begun)
|
||||
{
|
||||
if (! ecoff_compute_section_file_positions (abfd))
|
||||
return false;
|
||||
@@ -2750,11 +2750,9 @@ _bfd_ecoff_write_object_contents (abfd)
|
||||
symhdr->issExtMax = 0;
|
||||
debug->external_ext = debug->external_ext_end = NULL;
|
||||
debug->ssext = debug->ssext_end = NULL;
|
||||
if (bfd_ecoff_debug_externals (abfd, debug, &backend->debug_swap,
|
||||
(((abfd->flags & EXEC_P) == 0)
|
||||
? true : false),
|
||||
ecoff_get_extr, ecoff_set_index)
|
||||
== false)
|
||||
if (! bfd_ecoff_debug_externals (abfd, debug, &backend->debug_swap,
|
||||
(abfd->flags & EXEC_P) == 0,
|
||||
ecoff_get_extr, ecoff_set_index))
|
||||
goto error_return;
|
||||
|
||||
/* Write out the relocs. */
|
||||
@@ -2858,9 +2856,8 @@ _bfd_ecoff_write_object_contents (abfd)
|
||||
if (bfd_get_symcount (abfd) > 0)
|
||||
{
|
||||
/* Write out the debugging information. */
|
||||
if (bfd_ecoff_write_debug (abfd, debug, &backend->debug_swap,
|
||||
ecoff_data (abfd)->sym_filepos)
|
||||
== false)
|
||||
if (! bfd_ecoff_write_debug (abfd, debug, &backend->debug_swap,
|
||||
ecoff_data (abfd)->sym_filepos))
|
||||
goto error_return;
|
||||
}
|
||||
}
|
||||
@@ -3347,8 +3344,8 @@ _bfd_ecoff_archive_p (abfd)
|
||||
bfd_ardata (abfd)->extended_names = NULL;
|
||||
bfd_ardata (abfd)->tdata = NULL;
|
||||
|
||||
if (_bfd_ecoff_slurp_armap (abfd) == false
|
||||
|| _bfd_ecoff_slurp_extended_name_table (abfd) == false)
|
||||
if (! _bfd_ecoff_slurp_armap (abfd)
|
||||
|| ! _bfd_ecoff_slurp_extended_name_table (abfd))
|
||||
{
|
||||
bfd_release (abfd, bfd_ardata (abfd));
|
||||
abfd->tdata.aout_ar_data = tdata_hold;
|
||||
|
||||
Reference in New Issue
Block a user