[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/28734] error with build-many-glibcs.py
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/28734] error with build-many-glibcs.py |
Date: |
Fri, 31 Dec 2021 15:56:49 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28734
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The binutils-2_37-branch branch has been updated by H.J. Lu
<hjl@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c912b88e003a43e10020f56675fbd7e180d255ab
commit c912b88e003a43e10020f56675fbd7e180d255ab
Author: Alan Modra <amodra@gmail.com>
Date: Thu Oct 21 19:18:34 2021 +1030
-Waddress warning in ldelf.c
ldelf.c: In function 'ldelf_after_open':
ldelf.c:1049:43: warning: the comparison will always evaluate as 'true' for
the address of 'elf_header' will never be NULL [-Waddress]
1049 | && elf_tdata (abfd)->elf_header != NULL
| ^~
In file included from ldelf.c:37:
../bfd/elf-bfd.h:1957:21: note: 'elf_header' declared here
1957 | Elf_Internal_Ehdr elf_header[1]; /* Actual data, but ref
like ptr */
PR ld/28734
* ldelf.c (ldelf_after_open): Remove useless elf_header test.
(cherry picked from commit ced10cb78d01652f9e1bb1d1e465327dfe1debaa)
--
You are receiving this mail because:
You are on the CC list for the bug.