* 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.
This commit is contained in:
Alan Modra
2001-05-07 09:15:26 +00:00
parent ff88f59d5a
commit 062e23589d
6 changed files with 29 additions and 17 deletions

View File

@@ -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, */