X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Felf32-m68hc1x.h;h=4558aa595fe4e61534cade9714e6820e9fb50cf3;hb=708cedb722130686607d086085bac963a406580a;hp=6e673a83f4351a07b58319a9b5ad82e4fec4a66b;hpb=5160d0f323d47031cb73c39a4dbd31d8976b4c8e;p=binutils-gdb.git diff --git a/bfd/elf32-m68hc1x.h b/bfd/elf32-m68hc1x.h index 6e673a83f43..4558aa595fe 100644 --- a/bfd/elf32-m68hc1x.h +++ b/bfd/elf32-m68hc1x.h @@ -1,5 +1,5 @@ /* Motorola 68HC11/68HC12-specific support for 32-bit ELF - Copyright (C) 2003-2020 Free Software Foundation, Inc. + Copyright (C) 2003-2023 Free Software Foundation, Inc. Contributed by Stephane Carrez (stcarrez@nerim.fr) This file is part of BFD, the Binary File Descriptor library. @@ -33,10 +33,10 @@ #define BFD_M68HC11_BANK_VIRTUAL_NAME "__bank_virtual" /* Set and control ELF flags in ELF header. */ -extern bfd_boolean _bfd_m68hc11_elf_merge_private_bfd_data +extern bool _bfd_m68hc11_elf_merge_private_bfd_data (bfd *, struct bfd_link_info *); -extern bfd_boolean _bfd_m68hc11_elf_set_private_flags (bfd*,flagword); -extern bfd_boolean _bfd_m68hc11_elf_print_private_bfd_data (bfd*, void*); +extern bool _bfd_m68hc11_elf_set_private_flags (bfd*,flagword); +extern bool _bfd_m68hc11_elf_print_private_bfd_data (bfd*, void*); /* This hash entry is used to record a trampoline that must be generated to call a far function using a normal calling convention ('jsr'). @@ -120,8 +120,8 @@ struct m68hc11_elf_link_hash_table int top_index; asection **input_list; - bfd_boolean (* size_one_stub) (struct bfd_hash_entry*, void*); - bfd_boolean (* build_one_stub) (struct bfd_hash_entry*, void*); + bool (* size_one_stub) (struct bfd_hash_entry*, void*); + bool (* build_one_stub) (struct bfd_hash_entry*, void*); }; /* Get the Sparc64 ELF linker hash table from a link_info structure. */ @@ -158,33 +158,33 @@ bfd_reloc_status_type m68hc11_elf_special_reloc asymbol *symbol, void *data, asection *input_section, bfd *output_bfd, char **error_message); -bfd_boolean elf32_m68hc11_check_relocs +bool elf32_m68hc11_check_relocs (bfd * abfd, struct bfd_link_info * info, asection * sec, const Elf_Internal_Rela * relocs); -bfd_boolean elf32_m68hc11_relocate_section +int elf32_m68hc11_relocate_section (bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, asection **local_sections); -bfd_boolean elf32_m68hc11_add_symbol_hook +bool elf32_m68hc11_add_symbol_hook (bfd *abfd, struct bfd_link_info *info, Elf_Internal_Sym *sym, const char **namep, flagword *flagsp, asection **secp, bfd_vma *valp); void elf32_m68hc11_merge_symbol_attribute - (struct elf_link_hash_entry *, unsigned int, bfd_boolean, bfd_boolean); + (struct elf_link_hash_entry *, unsigned int, bool, bool); /* Tweak the OSABI field of the elf header. */ -extern bfd_boolean elf32_m68hc11_init_file_header (bfd*, struct bfd_link_info*); +extern bool elf32_m68hc11_init_file_header (bfd*, struct bfd_link_info*); int elf32_m68hc11_setup_section_lists (bfd *, struct bfd_link_info *); -bfd_boolean elf32_m68hc11_size_stubs +bool elf32_m68hc11_size_stubs (bfd *, bfd *, struct bfd_link_info *, asection * (*) (const char *, asection *)); -bfd_boolean elf32_m68hc11_build_stubs (bfd* abfd, struct bfd_link_info *); +bool elf32_m68hc11_build_stubs (bfd* abfd, struct bfd_link_info *); #endif