diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-30 08:39:46 +0000 |
commit | b34976b65aea8f33690229600bbf4527ec3118e1 (patch) | |
tree | 6411348664ef81ca2aa2e3ff325116e6e6502edf /ld/ldemul.c | |
parent | 583d52d728c60410c0d39bae68ee536a7b9e7a6c (diff) | |
download | gdb-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 'ld/ldemul.c')
-rw-r--r-- | ld/ldemul.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c index c90673b..72e324a 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); |