[PATCH 0/3] C23 fixes

Sam James sam@gentoo.org
Sat Nov 16 06:32:21 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.

Sam James (3):
  bfd: fix -std=gnu23 compatibility wrt _Bool
  opcodes: fix -std=gnu23 compatibility wrt static_assert
  binutils: 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 +-
 opcodes/i386-gen.c     | 2 ++
 opcodes/mips-formats.h | 6 +++---
 opcodes/s390-opc.c     | 2 ++
 9 files changed, 14 insertions(+), 10 deletions(-)

-- 
2.47.0



More information about the Binutils mailing list