[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/27371] [readelf] .debug_rnglists section header not parsed
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/27371] [readelf] .debug_rnglists section header not parsed |
Date: |
Wed, 10 Feb 2021 10:09:28 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27371
--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Tom de Vries from comment #1)
Hi Tom,
I do not quite get this:
> - int is_rnglists = strstr (section->name, "debug_rnglists") != NULL;
> + int is_rnglists = strstr (section->name, ".debug_rnglists") != NULL;
The strstr() function locates a sub-string within a a longer string,
so won't both versions of the code above produce the same results ?
I think that the reason that the test did not include the "." prefix
was that it is meant to work with compressed range list sections as
well, ie .zdebug_rnglists.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/27371] New: [readelf] .debug_rnglists section header not parsed, vries at gcc dot gnu.org, 2021/02/08
- [Bug binutils/27371] [readelf] .debug_rnglists section header not parsed, vries at gcc dot gnu.org, 2021/02/09
- [Bug binutils/27371] [readelf] .debug_rnglists section header not parsed, vries at gcc dot gnu.org, 2021/02/09
- [Bug binutils/27371] [readelf] .debug_rnglists section header not parsed,
nickc at redhat dot com <=
- [Bug binutils/27371] [readelf] .debug_rnglists section header not parsed, vries at gcc dot gnu.org, 2021/02/10
- [Bug binutils/27371] [readelf] .debug_rnglists section header not parsed, cvs-commit at gcc dot gnu.org, 2021/02/10
- [Bug binutils/27371] [readelf] .debug_rnglists section header not parsed, vries at gcc dot gnu.org, 2021/02/10