/* TILE-Gx-specific support for 64-bit ELF.
- Copyright (C) 2011-2017 Free Software Foundation, Inc.
+ Copyright (C) 2011-2022 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
/* Support for core dump NOTE sections. */
-static bfd_boolean
+static bool
tilegx_elf_grok_prstatus (bfd *abfd, Elf_Internal_Note *note)
{
int offset;
size_t size;
if (note->descsz != TILEGX_PRSTATUS_SIZEOF)
- return FALSE;
+ return false;
/* pr_cursig */
elf_tdata (abfd)->core->signal =
size, note->descpos + offset);
}
-static bfd_boolean
+static bool
tilegx_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
{
if (note->descsz != TILEGX_PRPSINFO_SIZEOF)
- return FALSE;
+ return false;
elf_tdata (abfd)->core->program
= _bfd_elfcore_strndup (abfd, note->descdata + TILEGX_PRPSINFO_OFFSET_PR_FNAME, 16);
command[n - 1] = '\0';
}
- return TRUE;
+ return true;
}