X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Felf64-tilegx.c;h=aae2b098f0fc846c9f881cde7eb98e3306142f35;hb=243cf0f69c36c4ee09c3c2b0bc7a97dc16119c51;hp=2e8f84bdb127ffa6811401c2213d25557c2a448f;hpb=827041555ac443bd57340060f3e034fd7b199dd8;p=binutils-gdb.git diff --git a/bfd/elf64-tilegx.c b/bfd/elf64-tilegx.c index 2e8f84bdb12..aae2b098f0f 100644 --- a/bfd/elf64-tilegx.c +++ b/bfd/elf64-tilegx.c @@ -1,5 +1,5 @@ /* TILE-Gx-specific support for 64-bit ELF. - Copyright (C) 2011-2019 Free Software Foundation, Inc. + Copyright (C) 2011-2022 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -28,14 +28,14 @@ /* 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 = @@ -54,11 +54,11 @@ tilegx_elf_grok_prstatus (bfd *abfd, Elf_Internal_Note *note) 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); @@ -77,7 +77,7 @@ tilegx_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note) command[n - 1] = '\0'; } - return TRUE; + return true; }