diff options
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index c995911..8b32dab 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -14454,7 +14454,7 @@ dump_section_as_strings (Elf_Internal_Shdr * section, Filedata * filedata) real_start = start = (unsigned char *) get_section_contents (section, filedata); if (start == NULL) /* PR 21820: Do not fail if the section was empty. */ - return (section->sh_size == 0 || section->sh_type == SHT_NOBITS) ? TRUE : FALSE; + return section->sh_size == 0 || section->sh_type == SHT_NOBITS; num_bytes = section->sh_size; @@ -14670,7 +14670,7 @@ dump_section_as_bytes (Elf_Internal_Shdr * section, real_start = start = (unsigned char *) get_section_contents (section, filedata); if (start == NULL) /* PR 21820: Do not fail if the section was empty. */ - return (section->sh_size == 0 || section->sh_type == SHT_NOBITS) ? TRUE : FALSE; + return section->sh_size == 0 || section->sh_type == SHT_NOBITS; section_size = section->sh_size; |