summaryrefslogtreecommitdiff
path: root/gas/frags.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/frags.c')
-rw-r--r--gas/frags.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/gas/frags.c b/gas/frags.c
index 7dfcf69531e..ca84b2181da 100644
--- a/gas/frags.c
+++ b/gas/frags.c
@@ -419,7 +419,7 @@ frag_append_1_char (int datum)
their start addresses. Set OFFSET to the difference in address
not already accounted for in the frag FR_ADDRESS. */
-bfd_boolean
+bool
frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, offsetT *offset)
{
const fragS *frag;
@@ -431,7 +431,7 @@ frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, offsetT *offset)
if (frag1 == frag2)
{
*offset = off;
- return TRUE;
+ return true;
}
/* Maybe frag2 is after frag1. */
@@ -445,7 +445,7 @@ frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, offsetT *offset)
if (frag == frag2)
{
*offset = off;
- return TRUE;
+ return true;
}
}
@@ -461,11 +461,11 @@ frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, offsetT *offset)
if (frag == frag1)
{
*offset = off;
- return TRUE;
+ return true;
}
}
- return FALSE;
+ return false;
}
/* Return TRUE if FRAG2 follows FRAG1 with a fixed relationship
@@ -473,7 +473,7 @@ frag_offset_fixed_p (const fragS *frag1, const fragS *frag2, offsetT *offset)
the difference in address not already accounted for in the frag
FR_ADDRESS. */
-bfd_boolean
+bool
frag_offset_ignore_align_p (const fragS *frag1, const fragS *frag2,
offsetT *offset)
{
@@ -486,7 +486,7 @@ frag_offset_ignore_align_p (const fragS *frag1, const fragS *frag2,
if (frag1 == frag2)
{
*offset = off;
- return TRUE;
+ return true;
}
frag = frag1;
@@ -503,11 +503,11 @@ frag_offset_ignore_align_p (const fragS *frag1, const fragS *frag2,
if (frag == frag2)
{
*offset = off;
- return TRUE;
+ return true;
}
}
- return FALSE;
+ return false;
}
/* Return TRUE if we can determine whether FRAG2 OFF2 appears after
@@ -525,13 +525,13 @@ frag_offset_ignore_align_p (const fragS *frag1, const fragS *frag2,
reachable from frag1 following the fr_next links, rather than the
other way round. */
-bfd_boolean
+bool
frag_gtoffset_p (valueT off2, const fragS *frag2,
valueT off1, const fragS *frag1, offsetT *offset)
{
/* Insanity check. */
if (frag2 == frag1 || off1 > frag1->fr_fix)
- return FALSE;
+ return false;
/* If the first symbol offset is at the end of the first frag and
the second symbol offset at the beginning of the second frag then
@@ -551,16 +551,16 @@ frag_gtoffset_p (valueT off2, const fragS *frag2,
if (frag == frag2)
{
if (delta == 0)
- return FALSE;
+ return false;
break;
}
/* If we run off the end of the frag chain then we have a case
where frag2 is not after frag1, ie. an O_gt expression not
created for .loc view. */
if (frag == NULL)
- return FALSE;
+ return false;
}
*offset = (off2 - off1 - delta) * OCTETS_PER_BYTE;
- return TRUE;
+ return true;
}