diff options
author | Sam James <sam@gentoo.org> | 2024-11-16 05:01:58 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-18 03:09:14 +0000 |
commit | 931e4f9b09512bb9012204bb2e4060ab6d9b9b46 (patch) | |
tree | e4f37307ec6832723d1d8c29028683e6bc0c1bea /COPYING3 | |
parent | 5b61986ac1683e93554e94795fa7527a911d7b74 (diff) | |
download | gdb-931e4f9b09512bb9012204bb2e4060ab6d9b9b46.zip gdb-931e4f9b09512bb9012204bb2e4060ab6d9b9b46.tar.gz gdb-931e4f9b09512bb9012204bb2e4060ab6d9b9b46.tar.bz2 |
bfd: fix -std=gnu23 compatibility wrt _Bool
GCC trunk now defaults to -std=gnu23. We return false in a few places
which can't work when true/false are a proper type (_Bool). Return NULL
where appropriate instead of false. All callers handle this appropriately.
ChangeLog:
PR ld/32372
* elf32-ppc.c (ppc_elf_tls_setup): Return NULL.
* elf32-xtensa.c (translate_reloc_bfd_fix): Ditto.
(translate_reloc): Ditto.
* elf64-ppc.c (update_local_sym_info): Ditto.
* mach-o.c (bfd_mach_o_lookup_uuid_command): Ditto.
* xsym.c (bfd_sym_read_name_table): Ditto.
Diffstat (limited to 'COPYING3')
0 files changed, 0 insertions, 0 deletions