From 062e23589d2fdda4a6de3e540150a8df23671a36 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 7 May 2001 09:15:26 +0000 Subject: * ecoff.c (bfd_debug_section): Fix initialization. * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it is always a positive integer. Cast away sign mismatch. * elf32-mips.c: Fix misleading comment and typo. (_bfd_mips_elf_section_from_bfd_section): Remove unused attribute, use correct data type. * elflink.c: Fix typo. (_bfd_elf_create_dynamic_sections): Remove superfluous initialization. * ecoffswap.h (ecoff_swap_fdr_in): Cast away sign mismatch. --- bfd/ecoff.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bfd/ecoff.c') diff --git a/bfd/ecoff.c b/bfd/ecoff.c index d88846b1491..2237441e610 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -75,19 +75,19 @@ static unsigned int ecoff_armap_hash PARAMS ((CONST char *s, static asection bfd_debug_section = { /* name, id, index, next, flags, user_set_vma, reloc_done, */ - "*DEBUG*", 0, 0, 0, 0, 0, 0, + "*DEBUG*", 0, 0, NULL, 0, 0, 0, /* linker_mark, gc_mark, segment_mark, vma, lma, _cooked_size, */ 0, 0, 0, 0, 0, 0, /* _raw_size, output_offset, output_section, alignment_power, */ 0, 0, NULL, 0, /* relocation, orelocation, reloc_count, filepos, rel_filepos, */ - 0, 0, 0, 0, 0, + NULL, NULL, 0, 0, 0, /* line_filepos, userdata, contents, lineno, lineno_count, */ 0, NULL, NULL, NULL, 0, - /* comdat, kept_section, moving_line_filepos, target_index, */ - NULL, NULL, 0, 0, - /* used_by_bfd, constructor_chain, owner, */ - NULL, NULL, NULL, + /* entsize, comdat, kept_section, moving_line_filepos, */ + 0, NULL, NULL, 0, + /* target_index, used_by_bfd, constructor_chain, owner, */ + 0, NULL, NULL, NULL, /* symbol, */ (struct symbol_cache_entry *) NULL, /* symbol_ptr_ptr, */ -- cgit v1.2.1