diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-08-17 08:57:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-08-17 08:57:42 +0000 |
commit | 801228f080c21a3b0d70ed333576b8896b5ca071 (patch) | |
tree | e36ce786fb6f0c55be3088002c4636cc17033c09 /bfd/cofflink.c | |
parent | bfffad065656a55ced6336df62a067f6d92b571a (diff) | |
download | binutils-redhat-801228f080c21a3b0d70ed333576b8896b5ca071.tar.gz |
* 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/cofflink.c')
-rw-r--r-- | bfd/cofflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/cofflink.c b/bfd/cofflink.c index e6dcd88edc..7e40bd94a8 100644 --- a/bfd/cofflink.c +++ b/bfd/cofflink.c @@ -1829,7 +1829,7 @@ _bfd_coff_link_input_bfd (finfo, input_bfd) have to write the symbol out twice. */ if (finfo->last_file_index != -1 - && finfo->last_file.n_value != (long) output_index) + && finfo->last_file.n_value != (bfd_vma) output_index) { /* We must correct the value of the last C_FILE entry. */ |