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/ldmisc.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/ldmisc.c')
-rw-r--r-- | ld/ldmisc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c index 6be50c3..94b03d4 100644 --- a/ld/ldmisc.c +++ b/ld/ldmisc.c @@ -71,7 +71,7 @@ vfinfo (fp, fmt, arg) const char *fmt; va_list arg; { - boolean fatal = false; + bfd_boolean fatal = FALSE; while (*fmt != '\0') { @@ -97,7 +97,7 @@ vfinfo (fp, fmt, arg) case 'X': /* no object output, fail return */ - config.make_executable = false; + config.make_executable = FALSE; break; case 'V': @@ -182,7 +182,7 @@ vfinfo (fp, fmt, arg) case 'F': /* Error is fatal. */ - fatal = true; + fatal = TRUE; break; case 'P': @@ -250,7 +250,7 @@ vfinfo (fp, fmt, arg) const char *filename; const char *functionname; unsigned int linenumber; - boolean discard_last; + bfd_boolean discard_last; abfd = va_arg (arg, bfd *); section = va_arg (arg, asection *); @@ -281,12 +281,12 @@ vfinfo (fp, fmt, arg) lfinfo (fp, "%B(%s+0x%v)", abfd, section->name, offset); - discard_last = true; + discard_last = TRUE; if (bfd_find_nearest_line (abfd, section, asymbols, offset, &filename, &functionname, &linenumber)) { - boolean need_colon = true; + bfd_boolean need_colon = TRUE; if (functionname != NULL && fmt[-1] == 'C') { @@ -300,7 +300,7 @@ vfinfo (fp, fmt, arg) { lfinfo (fp, _(": In function `%T':\n"), functionname); - need_colon = false; + need_colon = FALSE; last_bfd = abfd; if (last_file != NULL) @@ -312,7 +312,7 @@ vfinfo (fp, fmt, arg) free (last_function); last_function = xstrdup (functionname); } - discard_last = false; + discard_last = FALSE; } if (filename != NULL) @@ -364,9 +364,9 @@ vfinfo (fp, fmt, arg) } if (config.fatal_warnings) - config.make_executable = false; + config.make_executable = FALSE; - if (fatal == true) + if (fatal) xexit (1); } |