aboutsummaryrefslogtreecommitdiff
path: root/bfd/simple.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/simple.c
parent583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff)
downloadgdb-b34976b65aea8f33690229600bbf4527ec3118e1.zip
gdb-b34976b65aea8f33690229600bbf4527ec3118e1.tar.gz
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/simple.c')
-rw-r--r--bfd/simple.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/bfd/simple.c b/bfd/simple.c
index f0f5ee6..88f1337 100644
--- a/bfd/simple.c
+++ b/bfd/simple.c
@@ -24,28 +24,28 @@
#include "libbfd.h"
#include "bfdlink.h"
-static boolean simple_dummy_warning
+static bfd_boolean simple_dummy_warning
PARAMS ((struct bfd_link_info *, const char *, const char *, bfd *,
asection *, bfd_vma));
-static boolean simple_dummy_undefined_symbol
+static bfd_boolean simple_dummy_undefined_symbol
PARAMS ((struct bfd_link_info *, const char *, bfd *, asection *,
- bfd_vma, boolean));
+ bfd_vma, bfd_boolean));
-static boolean simple_dummy_reloc_overflow
+static bfd_boolean simple_dummy_reloc_overflow
PARAMS ((struct bfd_link_info *, const char *, const char *, bfd_vma,
bfd *, asection *, bfd_vma));
-static boolean simple_dummy_reloc_dangerous
+static bfd_boolean simple_dummy_reloc_dangerous
PARAMS ((struct bfd_link_info *, const char *, bfd *, asection *, bfd_vma));
-static boolean simple_dummy_unattached_reloc
+static bfd_boolean simple_dummy_unattached_reloc
PARAMS ((struct bfd_link_info *, const char *, bfd *, asection *, bfd_vma));
bfd_byte * bfd_simple_get_relocated_section_contents
PARAMS ((bfd *, asection *, bfd_byte *));
-static boolean
+static bfd_boolean
simple_dummy_warning (link_info, warning, symbol, abfd, section, address)
struct bfd_link_info *link_info ATTRIBUTE_UNUSED;
const char *warning ATTRIBUTE_UNUSED;
@@ -54,22 +54,22 @@ simple_dummy_warning (link_info, warning, symbol, abfd, section, address)
asection *section ATTRIBUTE_UNUSED;
bfd_vma address ATTRIBUTE_UNUSED;
{
- return true;
+ return TRUE;
}
-static boolean
+static bfd_boolean
simple_dummy_undefined_symbol (link_info, name, abfd, section, address, fatal)
struct bfd_link_info *link_info ATTRIBUTE_UNUSED;
const char *name ATTRIBUTE_UNUSED;
bfd *abfd ATTRIBUTE_UNUSED;
asection *section ATTRIBUTE_UNUSED;
bfd_vma address ATTRIBUTE_UNUSED;
- boolean fatal ATTRIBUTE_UNUSED;
+ bfd_boolean fatal ATTRIBUTE_UNUSED;
{
- return true;
+ return TRUE;
}
-static boolean
+static bfd_boolean
simple_dummy_reloc_overflow (link_info, name, reloc_name, addend, abfd,
section, address)
struct bfd_link_info *link_info ATTRIBUTE_UNUSED;
@@ -80,10 +80,10 @@ simple_dummy_reloc_overflow (link_info, name, reloc_name, addend, abfd,
asection *section ATTRIBUTE_UNUSED;
bfd_vma address ATTRIBUTE_UNUSED;
{
- return true;
+ return TRUE;
}
-static boolean
+static bfd_boolean
simple_dummy_reloc_dangerous (link_info, message, abfd, section, address)
struct bfd_link_info *link_info ATTRIBUTE_UNUSED;
const char *message ATTRIBUTE_UNUSED;
@@ -91,10 +91,10 @@ simple_dummy_reloc_dangerous (link_info, message, abfd, section, address)
asection *section ATTRIBUTE_UNUSED;
bfd_vma address ATTRIBUTE_UNUSED;
{
- return true;
+ return TRUE;
}
-static boolean
+static bfd_boolean
simple_dummy_unattached_reloc (link_info, name, abfd, section, address)
struct bfd_link_info *link_info ATTRIBUTE_UNUSED;
const char *name ATTRIBUTE_UNUSED;
@@ -102,7 +102,7 @@ simple_dummy_unattached_reloc (link_info, name, abfd, section, address)
asection *section ATTRIBUTE_UNUSED;
bfd_vma address ATTRIBUTE_UNUSED;
{
- return true;
+ return TRUE;
}
/*