aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-stgo32.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@gmail.com>2002-11-30 08:39:46 +0000
commitb34976b65aea8f33690229600bbf4527ec3118e1 (patch)
tree6411348664ef81ca2aa2e3ff325116e6e6502edf /bfd/coff-stgo32.c
parent583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff)
downloadfsf-binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip
fsf-binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz
fsf-binutils-gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.bz2
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'bfd/coff-stgo32.c')
-rw-r--r--bfd/coff-stgo32.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/coff-stgo32.c b/bfd/coff-stgo32.c
index 5c80b11..c4264ca 100644
--- a/bfd/coff-stgo32.c
+++ b/bfd/coff-stgo32.c
@@ -1,5 +1,5 @@
/* BFD back-end for Intel 386 COFF files (DJGPP variant with a stub).
- Copyright 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Written by Robert Hoehne.
This file is part of BFD, the Binary File Descriptor library.
@@ -93,7 +93,7 @@ create_go32_stub PARAMS ((bfd *));
#define COFF_ADJUST_AUX_OUT_PRE adjust_aux_out_pre
#define COFF_ADJUST_AUX_OUT_POST adjust_aux_out_post
-static boolean
+static bfd_boolean
go32_stubbed_coff_bfd_copy_private_bfd_data PARAMS ((bfd *, bfd *));
#define coff_bfd_copy_private_bfd_data go32_stubbed_coff_bfd_copy_private_bfd_data
@@ -392,22 +392,22 @@ stub_end:
/* If ibfd was a stubbed coff image, copy the stub from that bfd
to the new obfd. */
-static boolean
+static bfd_boolean
go32_stubbed_coff_bfd_copy_private_bfd_data (ibfd, obfd)
bfd *ibfd;
bfd *obfd;
{
/* Check if both are the same targets. */
if (ibfd->xvec != obfd->xvec)
- return true;
+ return TRUE;
/* Check if both have a valid stub. */
if (bfd_coff_go32stub (ibfd) == NULL
|| bfd_coff_go32stub (obfd) == NULL)
- return true;
+ return TRUE;
/* Now copy the stub. */
memcpy (bfd_coff_go32stub (obfd), bfd_coff_go32stub (ibfd), STUBSIZE);
- return true;
+ return TRUE;
}