diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-31 10:20:10 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-31 10:49:23 +1030 |
commit | 9193bc4285c232400a26448ca75095c44c13f637 (patch) | |
tree | 40d0ec6e79c179c2f814a2b559e52377eb8c4d14 /include/elf | |
parent | ad9e24ad113a160d8d44dba0eb5cb02647a164e0 (diff) | |
download | gdb-9193bc4285c232400a26448ca75095c44c13f637.zip gdb-9193bc4285c232400a26448ca75095c44c13f637.tar.gz gdb-9193bc4285c232400a26448ca75095c44c13f637.tar.bz2 |
Use bool in include
* bfdlink.h: Replace bfd_boolean with bool throughout.
* coff/ecoff.h: Likewise.
* coff/xcoff.h: Likewise.
* dis-asm.h: Likewise.
* elf/mmix.h: Likewise.
* elf/xtensa.h: Likewise.
* opcode/aarch64.h: Likewise, and FALSE with false, TRUE with true.
* opcode/arc.h: Likewise.
* opcode/mips.h: Likewise.
* opcode/tic6x-opcode-table.h: Likewise.
* opcode/tic6x.h: Likewise.
Diffstat (limited to 'include/elf')
-rw-r--r-- | include/elf/mmix.h | 6 | ||||
-rw-r--r-- | include/elf/xtensa.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/elf/mmix.h b/include/elf/mmix.h index b4a8ac8..f6d105d 100644 --- a/include/elf/mmix.h +++ b/include/elf/mmix.h @@ -162,11 +162,11 @@ END_RELOC_NUMBERS (R_MMIX_max) #define MMO_SEC_DEBUGGING 0x10000 #ifdef BFD_ARCH_SIZE -extern bfd_boolean _bfd_mmix_before_linker_allocation +extern bool _bfd_mmix_before_linker_allocation (bfd *, struct bfd_link_info *); -extern bfd_boolean _bfd_mmix_after_linker_allocation +extern bool _bfd_mmix_after_linker_allocation (bfd *, struct bfd_link_info *); -extern bfd_boolean _bfd_mmix_check_all_relocs +extern bool _bfd_mmix_check_all_relocs (bfd *, struct bfd_link_info *); #endif diff --git a/include/elf/xtensa.h b/include/elf/xtensa.h index 830e354..78e9b4c 100644 --- a/include/elf/xtensa.h +++ b/include/elf/xtensa.h @@ -221,7 +221,7 @@ xtensa_read_table_entries (bfd *abfd, asection *section, property_table_entry **table_p, const char *sec_name, - bfd_boolean output_addr); + bool output_addr); extern int xtensa_compute_fill_extra_space (property_table_entry *entry); |