aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-bfin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-bfin.c')
-rw-r--r--gas/config/tc-bfin.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c
index b38aceb..5524dc8 100644
--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -700,7 +700,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
case BFD_RELOC_BFIN_16_LOW:
case BFD_RELOC_BFIN_16_HIGH:
- fixP->fx_done = FALSE;
+ fixP->fx_done = false;
break;
case BFD_RELOC_BFIN_24_PCREL_JUMP_L:
@@ -769,7 +769,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
case BFD_RELOC_BFIN_FUNCDESC:
case BFD_RELOC_VTABLE_INHERIT:
case BFD_RELOC_VTABLE_ENTRY:
- fixP->fx_done = FALSE;
+ fixP->fx_done = false;
break;
default:
@@ -781,7 +781,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
}
if (!fixP->fx_addsy)
- fixP->fx_done = TRUE;
+ fixP->fx_done = true;
}
@@ -797,7 +797,7 @@ md_section_align (segT segment, valueT size)
const char *
md_atof (int type, char * litP, int * sizeP)
{
- return ieee_md_atof (type, litP, sizeP, FALSE);
+ return ieee_md_atof (type, litP, sizeP, false);
}
@@ -852,7 +852,7 @@ md_pcrel_from_section (fixS *fixP, segT sec)
/* Return true if the fix can be handled by GAS, false if it must
be passed through to the linker. */
-bfd_boolean
+bool
bfin_fix_adjustable (fixS *fixP)
{
switch (fixP->fx_r_type)
@@ -1932,7 +1932,7 @@ bfin_loop_beginend (Expr_Node *exp, int begin)
*symbol_X_add_number (linelabel) -= last_insn_size;
}
-bfd_boolean
+bool
bfin_eol_in_insn (char *line)
{
/* Allow a new-line to appear in the middle of a multi-issue instruction. */
@@ -1940,36 +1940,36 @@ bfin_eol_in_insn (char *line)
char *temp = line;
if (*line != '\n')
- return FALSE;
+ return false;
/* A semi-colon followed by a newline is always the end of a line. */
if (line[-1] == ';')
- return FALSE;
+ return false;
if (line[-1] == '|')
- return TRUE;
+ return true;
/* If the || is on the next line, there might be leading whitespace. */
temp++;
while (*temp == ' ' || *temp == '\t') temp++;
if (*temp == '|')
- return TRUE;
+ return true;
- return FALSE;
+ return false;
}
-bfd_boolean
+bool
bfin_start_label (char *s)
{
while (*s != 0)
{
if (*s == '(' || *s == '[')
- return FALSE;
+ return false;
s++;
}
- return TRUE;
+ return true;
}
int
@@ -1977,7 +1977,7 @@ bfin_force_relocation (struct fix *fixp)
{
if (fixp->fx_r_type ==BFD_RELOC_BFIN_16_LOW
|| fixp->fx_r_type == BFD_RELOC_BFIN_16_HIGH)
- return TRUE;
+ return true;
return generic_force_reloc (fixp);
}