diff options
author | Alan Modra <amodra@gmail.com> | 2001-05-07 09:15:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-05-07 09:15:26 +0000 |
commit | 062e23589d2fdda4a6de3e540150a8df23671a36 (patch) | |
tree | 7f1c1ed8b3e518ce8e109e134af7d55f9b3cab6f /bfd/ecoff.c | |
parent | ff88f59d5a07b674c669c08b64d047e501192b0c (diff) | |
download | gdb-062e23589d2fdda4a6de3e540150a8df23671a36.zip gdb-062e23589d2fdda4a6de3e540150a8df23671a36.tar.gz gdb-062e23589d2fdda4a6de3e540150a8df23671a36.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r-- | bfd/ecoff.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c index d88846b..2237441 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, */ |