summaryrefslogtreecommitdiff
path: root/ld/ldemul.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-11-30 08:39:46 +0000
commit21bd0c8d7a860a284f4f85a72fc26721ec87aedd (patch)
tree9a0470dbae9d01002a20b39e95a68f81bb4eaaa8 /ld/ldemul.c
parentfdb71d9a52a1eaa32d8b51672f63abe50896d4a0 (diff)
downloadbinutils-redhat-21bd0c8d7a860a284f4f85a72fc26721ec87aedd.tar.gz
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
Diffstat (limited to 'ld/ldemul.c')
-rw-r--r--ld/ldemul.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index c90673b919..72e324a1af 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -1,5 +1,5 @@
/* ldemul.c -- clearing house for ld emulation states
- Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000
+ Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002
Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -112,7 +112,7 @@ ldemul_get_script (isfile)
return ld_emulation->get_script (isfile);
}
-boolean
+bfd_boolean
ldemul_open_dynamic_archive (arch, search, entry)
const char *arch;
search_dirs_type *search;
@@ -120,17 +120,17 @@ ldemul_open_dynamic_archive (arch, search, entry)
{
if (ld_emulation->open_dynamic_archive)
return (*ld_emulation->open_dynamic_archive) (arch, search, entry);
- return false;
+ return FALSE;
}
-boolean
+bfd_boolean
ldemul_place_orphan (file, s)
lang_input_statement_type *file;
asection *s;
{
if (ld_emulation->place_orphan)
return (*ld_emulation->place_orphan) (file, s);
- return false;
+ return FALSE;
}
int
@@ -148,24 +148,24 @@ ldemul_parse_args (argc, argv)
/* Let the emulation code handle an unrecognized file. */
-boolean
+bfd_boolean
ldemul_unrecognized_file (entry)
lang_input_statement_type *entry;
{
if (ld_emulation->unrecognized_file)
return (*ld_emulation->unrecognized_file) (entry);
- return false;
+ return FALSE;
}
/* Let the emulation code handle a recognized file. */
-boolean
+bfd_boolean
ldemul_recognized_file (entry)
lang_input_statement_type *entry;
{
if (ld_emulation->recognized_file)
return (*ld_emulation->recognized_file) (entry);
- return false;
+ return FALSE;
}
char *
@@ -261,12 +261,12 @@ ldemul_list_emulations (f)
FILE *f;
{
ld_emulation_xfer_type **eptr = ld_emulations;
- boolean first = true;
+ bfd_boolean first = TRUE;
for (; *eptr; eptr++)
{
if (first)
- first = false;
+ first = FALSE;
else
fprintf (f, " ");
fprintf (f, "%s", (*eptr)->emulation_name);