From 7b50b349e217f7c560ea8dac8aa67655a7d0e8d3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 10 Sep 1999 23:25:51 +0000 Subject: * 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 * coff-alpha.c (alpha_ecoff_backend_data): Initialize the new _bfd_filnmlen field. * coff-mips.c (mips_ecoff_backend_data): Likewise. --- bfd/ecoff.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) (limited to 'bfd/ecoff.c') 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; -- cgit v1.1