diff options
author | Alan Modra <amodra@gmail.com> | 2025-07-17 08:57:11 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-07-17 10:34:11 +0930 |
commit | 118dc72152bfe105e0d55ad1b8b41efaeae69e66 (patch) | |
tree | 3c3cc2543956c0c056c73c282eab019e1bc97782 /libctf/ctf-open.c | |
parent | a9d7fd0b30ae08acb3174c4cd2cdfcb679dffe92 (diff) | |
download | binutils-118dc72152bfe105e0d55ad1b8b41efaeae69e66.zip binutils-118dc72152bfe105e0d55ad1b8b41efaeae69e66.tar.gz binutils-118dc72152bfe105e0d55ad1b8b41efaeae69e66.tar.bz2 |
readelf v850 notes
This patch was prompted by a clang warning:
readelf.c:23317:37: warning: pointer comparison always evaluates to false [-Wtautological-compare]
23317 | || inote.namedata + inote.namesz < inote.namedata)
| ^
Use the same sanity checks as used by process_notes_at. (See commit
5396a86e4396). While we are at it, print all the v850 note info in
one place to properly handle error conditions.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions