Miscellaneous BFD int vs bfd_boolean fixes
authorAlan Modra <amodra@gmail.com>
Sun, 28 Mar 2021 23:12:37 +0000 (09:42 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 29 Mar 2021 00:52:21 +0000 (11:22 +1030)
commitf4f9ede04272c1417b187afe6964e5c0687f1904
treec8a3f5bfa5203c3fe01dba909ad82b76b4af8be6
parent1201fda61b3bcf0028a57e622aebb16ec614f7dc
Miscellaneous BFD int vs bfd_boolean fixes

nds32 hyper_relax takes values of 0, 1 and 2.  vms_write_data_block
return TRUE/FALSE not positive/negative.

* coff-z80.c (z80_is_local_label_name): Return bfd_boolean.
* elf32-z80.c (z80_is_local_label_name): Likewise.
* elf32-spu.c (spu_elf_modify_headers): Likewise.
* elf32-nds32.h (struct elf_nds32_link_hash_table <hyper_relax>):
Change type to int.
* vms-lib.c (_bfd_vms_lib_write_archive_contents): Correct test
for error return from vms_write_data_block.
bfd/ChangeLog
bfd/coff-z80.c
bfd/elf32-nds32.h
bfd/elf32-spu.c
bfd/elf32-z80.c
bfd/vms-lib.c