[0/3] C23 fixes

Message ID cover.1731738744.git.sam@gentoo.org
Headers
Series C23 fixes |

Message

Sam James Nov. 16, 2024, 6:32 a.m. UTC
  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(-)