aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf64-gen.c')
-rw-r--r--bfd/elf64-gen.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/bfd/elf64-gen.c b/bfd/elf64-gen.c
index 6b289c1..342737d 100644
--- a/bfd/elf64-gen.c
+++ b/bfd/elf64-gen.c
@@ -31,32 +31,32 @@ static reloc_howto_type dummy =
0, /* rightshift */
0, /* size (0 = byte, 1 = short, 2 = long) */
0, /* bitsize */
- FALSE, /* pc_relative */
+ false, /* pc_relative */
0, /* bitpos */
complain_overflow_dont, /* complain_on_overflow */
NULL, /* special_function */
"UNKNOWN", /* name */
- FALSE, /* partial_inplace */
+ false, /* partial_inplace */
0, /* src_mask */
0, /* dst_mask */
- FALSE); /* pcrel_offset */
+ false); /* pcrel_offset */
-static bfd_boolean
+static bool
elf_generic_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
arelent *bfd_reloc,
Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED)
{
bfd_reloc->howto = &dummy;
- return TRUE;
+ return true;
}
-static bfd_boolean
+static bool
elf_generic_info_to_howto_rel (bfd *abfd ATTRIBUTE_UNUSED,
arelent *bfd_reloc,
Elf_Internal_Rela *elf_reloc ATTRIBUTE_UNUSED)
{
bfd_reloc->howto = &dummy;
- return TRUE;
+ return true;
}
static void
@@ -72,20 +72,20 @@ check_for_relocs (bfd * abfd, asection * o, void * failed)
abfd, ehdrp->e_machine);
bfd_set_error (bfd_error_wrong_format);
- * (bfd_boolean *) failed = TRUE;
+ * (bool *) failed = true;
}
}
-static bfd_boolean
+static bool
elf64_generic_link_add_symbols (bfd *abfd, struct bfd_link_info *info)
{
- bfd_boolean failed = FALSE;
+ bool failed = false;
/* Check if there are any relocations. */
bfd_map_over_sections (abfd, check_for_relocs, & failed);
if (failed)
- return FALSE;
+ return false;
return bfd_elf_link_add_symbols (abfd, info);
}