aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/nios2elf.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/nios2elf.em')
-rw-r--r--ld/emultempl/nios2elf.em14
1 files changed, 7 insertions, 7 deletions
diff --git a/ld/emultempl/nios2elf.em b/ld/emultempl/nios2elf.em
index fcc2756..d0d5cc0 100644
--- a/ld/emultempl/nios2elf.em
+++ b/ld/emultempl/nios2elf.em
@@ -81,12 +81,12 @@ struct hook_stub_info
/* Traverse the linker tree to find the spot where the stub goes. */
-static bfd_boolean
+static bool
hook_in_stub (struct hook_stub_info *info, lang_statement_union_type **lp,
- bfd_boolean afterp)
+ bool afterp)
{
lang_statement_union_type *l;
- bfd_boolean ret;
+ bool ret;
for (; (l = *lp) != NULL; lp = &l->header.next)
{
@@ -133,7 +133,7 @@ hook_in_stub (struct hook_stub_info *info, lang_statement_union_type **lp,
*lp = info->add.head;
*(info->add.tail) = l;
}
- return TRUE;
+ return true;
}
break;
@@ -154,7 +154,7 @@ hook_in_stub (struct hook_stub_info *info, lang_statement_union_type **lp,
break;
}
}
- return FALSE;
+ return false;
}
/* Call-back for elf32_nios2_size_stubs. */
@@ -164,7 +164,7 @@ hook_in_stub (struct hook_stub_info *info, lang_statement_union_type **lp,
static asection *
nios2elf_add_stub_section (const char *stub_sec_name, asection *input_section,
- bfd_boolean afterp)
+ bool afterp)
{
asection *stub_sec;
flagword flags;
@@ -208,7 +208,7 @@ nios2elf_layout_sections_again (void)
/* If we have changed sizes of the stub sections, then we need
to recalculate all the section offsets. This may mean we need to
add even more stubs. */
- ldelf_map_segments (TRUE);
+ ldelf_map_segments (true);
need_laying_out = -1;
}