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 | efb1b66950cc83ca15b8ecc1fb80c53555f93f8c (patch) | |
tree | 93daa719448273bb27c9eee555c76e4f52c22c3b /bfd/ecoff.c | |
parent | 3a2ebb496633d397d8abb6449ff07152440a1ab4 (diff) | |
download | gdb-efb1b66950cc83ca15b8ecc1fb80c53555f93f8c.tar.gz |
* 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 142cf40cbd4..4b136ee1f88 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; |