diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-10 23:25:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-10 23:25:51 +0000 |
commit | 7b50b349e217f7c560ea8dac8aa67655a7d0e8d3 (patch) | |
tree | 15bbccdc727cfb8f9937ddbc089bb03980c193ee /bfd/ecoff.c | |
parent | e48c661ee6b7d8a850acd122a7a17076d3c1dc33 (diff) | |
download | gdb-7b50b349e217f7c560ea8dac8aa67655a7d0e8d3.zip gdb-7b50b349e217f7c560ea8dac8aa67655a7d0e8d3.tar.gz gdb-7b50b349e217f7c560ea8dac8aa67655a7d0e8d3.tar.bz2 |
* ecoff.c (bfd_debug_section): Update initialization for new
comdat_info field.
(_bfd_ecoff_styp_to_sec_flags): Add section parameter.
* libecoff.h (_bfd_ecoff_styp_to_sec_flags): Update declaration.
1999-09-10 H.J. Lu <hjl@gnu.org>
* coff-alpha.c (alpha_ecoff_backend_data): Initialize the new
_bfd_filnmlen field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r-- | bfd/ecoff.c | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 142cf40..4b136ee 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -74,9 +74,20 @@ static unsigned int ecoff_armap_hash PARAMS ((CONST char *s, static asection bfd_debug_section = { - "*DEBUG*", 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0, NULL, NULL, - 0, 0, 0, 0, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, - NULL, NULL + /* name, index, next, flags, set_vma, reloc_done, linker_mark, gc_mark */ + "*DEBUG*", 0, 0, 0, 0, 0, 0, 0, + /* vma, lma, _cooked_size, _raw_size, output_offset, output_section, */ + 0, 0, 0, 0, 0, NULL, + /* alig, reloc..., orel..., reloc_count, filepos, rel_..., line_... */ + 0, 0, 0, 0, 0, 0, 0, + /* userdata, contents, lineno, lineno_count */ + 0, 0, 0, 0, + /* comdat_info, moving_line_filepos, target_index, used_by_bfd, */ + NULL, 0, 0, 0, + /* cons, owner, symbol */ + 0, 0, (struct symbol_cache_entry *) NULL, + /* symbol_ptr_ptr, link_order_head, ..._tail */ + (struct symbol_cache_entry **) NULL, NULL, NULL }; /* Create an ECOFF object. */ @@ -354,10 +365,11 @@ ecoff_sec_to_styp_flags (name, flags) /*ARGSUSED*/ flagword -_bfd_ecoff_styp_to_sec_flags (abfd, hdr, name) +_bfd_ecoff_styp_to_sec_flags (abfd, hdr, name, section) bfd *abfd ATTRIBUTE_UNUSED; PTR hdr; const char *name ATTRIBUTE_UNUSED; + asection *section ATTRIBUTE_UNUSED; { struct internal_scnhdr *internal_s = (struct internal_scnhdr *) hdr; long styp_flags = internal_s->s_flags; |