aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-17 08:57:42 +0000
committerAlan Modra <amodra@gmail.com>2001-08-17 08:57:42 +0000
commitcea4409c0f8e075b69aa75a7a73d8b5ff67937a9 (patch)
tree057350bfe4868571a266aafaf1c7e234b3888218 /bfd/coffcode.h
parent8fc34799029ef55fd64a6cd72d592aee9e8ac074 (diff)
downloadgdb-cea4409c0f8e075b69aa75a7a73d8b5ff67937a9.zip
gdb-cea4409c0f8e075b69aa75a7a73d8b5ff67937a9.tar.gz
gdb-cea4409c0f8e075b69aa75a7a73d8b5ff67937a9.tar.bz2
* coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
silence warning. * coffgen.c (coff_print_symbol): Fix warnings. (coff_find_nearest_line): Likewise. * cofflink.c (_bfd_coff_link_input_bfd): Likewise. * coff-alpha.c (alpha_convert_external_reloc): Likewise. * format.c (bfd_check_format_matches): Likewise. (bfd_set_format): Likewise. * coff-ia64.c: Add missing prototypes. * elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend signed to silence warnings. (elf64_alpha_relocate_section): Likewise. (elf64_alpha_find_reloc_at_ofs): Fix warnings. (elf64_alpha_add_symbol_hook): Likewise. (elf64_alpha_final_link): Likewise. (elf64_alpha_relax_section): Remove redundant assign to info.gotent. (elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args. (elf64_alpha_size_got_sections): Likewise. * elfxx-ia64.c: Add missing prototypes. (elfNN_ia64_relocate_section): Fix warning. (elfNN_ia64_unwind_entry_compare): Make params const.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 5985404..3683fac 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -326,7 +326,7 @@ static boolean coff_set_flags
static boolean coff_set_arch_mach
PARAMS ((bfd *, enum bfd_architecture, unsigned long));
static boolean coff_compute_section_file_positions PARAMS ((bfd *));
-static boolean coff_write_object_contents PARAMS ((bfd *));
+static boolean coff_write_object_contents PARAMS ((bfd *)) ATTRIBUTE_UNUSED;
static boolean coff_set_section_contents
PARAMS ((bfd *, asection *, PTR, file_ptr, bfd_size_type));
static PTR buy_and_read PARAMS ((bfd *, file_ptr, int, size_t));