projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. Simplify
[external/binutils.git]
/
gas
/
config
/
tc-cris.c
diff --git
a/gas/config/tc-cris.c
b/gas/config/tc-cris.c
index
8f4b633
..
84f1a75
100644
(file)
--- a/
gas/config/tc-cris.c
+++ b/
gas/config/tc-cris.c
@@
-158,13
+158,13
@@
static char *cris_insn_first_word_frag PARAMS ((void));
static struct hash_control *op_hash = NULL;
/* Whether we demand that registers have a `$' prefix. Default here. */
static struct hash_control *op_hash = NULL;
/* Whether we demand that registers have a `$' prefix. Default here. */
-static b
oolean demand_register_prefix = false
;
+static b
fd_boolean demand_register_prefix = FALSE
;
/* Whether global user symbols have a leading underscore. Default here. */
/* Whether global user symbols have a leading underscore. Default here. */
-static b
oolean symbols_have_leading_underscore = true
;
+static b
fd_boolean symbols_have_leading_underscore = TRUE
;
/* Whether or not we allow PIC, and expand to PIC-friendly constructs. */
/* Whether or not we allow PIC, and expand to PIC-friendly constructs. */
-static b
oolean pic = false
;
+static b
fd_boolean pic = FALSE
;
const pseudo_typeS md_pseudo_table[] =
{
const pseudo_typeS md_pseudo_table[] =
{
@@
-2920,21
+2920,21
@@
md_parse_option (arg, argp)
return 1;
case OPTION_NO_US:
return 1;
case OPTION_NO_US:
- demand_register_prefix =
true
;
+ demand_register_prefix =
TRUE
;
if (OUTPUT_FLAVOR == bfd_target_aout_flavour)
as_bad (_("--no-underscore is invalid with a.out format"));
else
if (OUTPUT_FLAVOR == bfd_target_aout_flavour)
as_bad (_("--no-underscore is invalid with a.out format"));
else
- symbols_have_leading_underscore =
false
;
+ symbols_have_leading_underscore =
FALSE
;
return 1;
case OPTION_US:
return 1;
case OPTION_US:
- demand_register_prefix =
false
;
- symbols_have_leading_underscore =
true
;
+ demand_register_prefix =
FALSE
;
+ symbols_have_leading_underscore =
TRUE
;
return 1;
case OPTION_PIC:
return 1;
case OPTION_PIC:
- pic =
true
;
+ pic =
TRUE
;
return 1;
default:
return 1;
default:
@@
-3195,14
+3195,14
@@
tc_cris_check_adjusted_broken_word (new_offset, brokwP)
static void cris_force_reg_prefix ()
{
static void cris_force_reg_prefix ()
{
- demand_register_prefix =
true
;
+ demand_register_prefix =
TRUE
;
}
/* Do not demand a leading REGISTER_PREFIX_CHAR for all registers. */
static void cris_relax_reg_prefix ()
{
}
/* Do not demand a leading REGISTER_PREFIX_CHAR for all registers. */
static void cris_relax_reg_prefix ()
{
- demand_register_prefix =
false
;
+ demand_register_prefix =
FALSE
;
}
/* Adjust for having a leading '_' on all user symbols. */
}
/* Adjust for having a leading '_' on all user symbols. */
@@
-3213,7
+3213,7
@@
static void cris_sym_leading_underscore ()
thinks symbol starts with agrees with the command-line options, since
the bfd is already created. */
thinks symbol starts with agrees with the command-line options, since
the bfd is already created. */
- if (
symbols_have_leading_underscore == fals
e)
+ if (
!symbols_have_leading_underscor
e)
as_bad (_(".syntax %s requires command-line option `--underscore'"),
SYNTAX_USER_SYM_LEADING_UNDERSCORE);
}
as_bad (_(".syntax %s requires command-line option `--underscore'"),
SYNTAX_USER_SYM_LEADING_UNDERSCORE);
}
@@
-3222,7
+3222,7
@@
static void cris_sym_leading_underscore ()
static void cris_sym_no_leading_underscore ()
{
static void cris_sym_no_leading_underscore ()
{
- if (symbols_have_leading_underscore
== true
)
+ if (symbols_have_leading_underscore)
as_bad (_(".syntax %s requires command-line option `--no-underscore'"),
SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE);
}
as_bad (_(".syntax %s requires command-line option `--no-underscore'"),
SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE);
}