[PATCH v2 0/4] C23 fixes
Sam James
sam@gentoo.org
Sat Nov 16 07:13:25 GMT 2024
GCC trunk now defaults to -std=gnu23. Some trivial fixes are needed to get
binutils building again (PR32372).
Note that gdb needs an updated readline (PR32265) and gprofng needs a lot
of work (PR32374) - neither of which are included here.
v2:
- Fix ChangeLog as H.J. mentioned.
- Add extra patch for ld/pdb.c.
Sam James (4):
bfd: fix -std=gnu23 compatibility wrt _Bool
opcodes: fix -std=gnu23 compatibility wrt static_assert
binutils: fix -std=gnu23 compatibility wrt _Bool
ld: fix -std=gnu23 compatibility wrt _Bool
bfd/elf32-ppc.c | 2 +-
bfd/elf32-xtensa.c | 4 ++--
bfd/elf64-ppc.c | 2 +-
bfd/mach-o.c | 2 +-
bfd/xsym.c | 2 +-
binutils/prdbg.c | 2 +-
ld/pdb.c | 2 +-
opcodes/i386-gen.c | 2 ++
opcodes/mips-formats.h | 6 +++---
opcodes/s390-opc.c | 2 ++
10 files changed, 15 insertions(+), 11 deletions(-)
--
2.47.0
More information about the Binutils
mailing list