aboutsummaryrefslogtreecommitdiff
path: root/bfd/nlm32-sparc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-25 06:21:54 +0000
committerAlan Modra <amodra@gmail.com>2002-06-25 06:21:54 +0000
commit82e51918269aaa9b2f890217c141d7ae9dd2928f (patch)
tree1d858cc8b58398a07832d26417a46ef672633210 /bfd/nlm32-sparc.c
parentc0e624e73fb1802a2bfe7143aeddeccd78bd3900 (diff)
downloadgdb-82e51918269aaa9b2f890217c141d7ae9dd2928f.zip
gdb-82e51918269aaa9b2f890217c141d7ae9dd2928f.tar.gz
gdb-82e51918269aaa9b2f890217c141d7ae9dd2928f.tar.bz2
* 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.
Diffstat (limited to 'bfd/nlm32-sparc.c')
-rw-r--r--bfd/nlm32-sparc.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/bfd/nlm32-sparc.c b/bfd/nlm32-sparc.c
index 0246dd2..76b7328 100644
--- a/bfd/nlm32-sparc.c
+++ b/bfd/nlm32-sparc.c
@@ -1,5 +1,5 @@
/* Support for 32-bit SPARC 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.
@@ -296,9 +296,7 @@ nlm_sparc_read_import (abfd, sym)
{
asection *section;
- if (nlm_sparc_read_reloc (abfd, sym, &section,
- &nlm_relocs -> reloc)
- == false)
+ if (! nlm_sparc_read_reloc (abfd, sym, &section, &nlm_relocs -> reloc))
return false;
nlm_relocs -> section = section;
nlm_relocs++;
@@ -342,7 +340,7 @@ nlm_sparc_write_import (abfd, sec, rel)
bfd_put_32 (abfd, (bfd_vma) 1, temp);
if (bfd_bwrite ((PTR) temp, (bfd_size_type) 4, abfd) != 4)
return false;
- if (nlm_sparc_write_reloc (abfd, sec, rel) == false)
+ if (! nlm_sparc_write_reloc (abfd, sec, rel))
return false;
return true;
}
@@ -372,8 +370,7 @@ nlm_sparc_write_external (abfd, count, sym, relocs)
for (i = 0; i < count; i++)
{
- if (nlm_sparc_write_reloc (abfd, relocs[i].sec,
- relocs[i].rel) == false)
+ if (! nlm_sparc_write_reloc (abfd, relocs[i].sec, relocs[i].rel))
return false;
}