diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-09-28 11:37:38 +0200 |
---|---|---|
committer | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2025-09-28 11:37:38 +0200 |
commit | e9b82b912ffcefcf7b00864b5fc9e668b61c8ca0 (patch) | |
tree | 30cf9ab70a77eeca1a31ed6bd64e71b490e7a737 /zlib/os400 | |
parent | 9af366e0d3b7bc5802295bb001d17483033de87b (diff) | |
download | binutils-master.zip binutils-master.tar.gz binutils-master.tar.bz2 |
When building with -DDEBUG=2, bfd doesn't compile:
In file included from bfd/elfcode.h:2051,
from bfd/elf32.c:23:
bfd/elfcore.h: In function ‘_bfd_elf32_core_find_build_id’:
bfd/elfcore.h:354:3: error: implicit declaration of function ‘elf_debug_file’; did you mean ‘elf_debug_section’? [-Wimplicit-function-declaration]
354 | elf_debug_file (&i_ehdr);
| ^~~~~~~~~~~~~~
| elf_debug_section
This happens because a guard in elfcore.h doesn't match the others.
This patch fixes this, allowing the build to complete.
Tested on amd64-pc-solaris2.11.
2025-09-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
bfd:
* elfcore.h [DEBUG]: Fix guard.
Diffstat (limited to 'zlib/os400')
0 files changed, 0 insertions, 0 deletions