From: Nick Clifton Date: Wed, 14 Feb 2001 19:37:05 +0000 (+0000) Subject: Fix initialisation of asection structure X-Git-Tag: jimb_gnu_v3_branchpoint~180 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=51d7ee16bb4178a90f90496738bc8fb731252d75;p=external%2Fbinutils.git Fix initialisation of asection structure --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 34eac0c..661caba 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ 2001-02-14 Nick Clifton + * ecoff.c (bfd_debug_section): Update to initialise new fields in + asection structure. + * Makefile.am (BFD32_BACKENDS_CFILES): Remove peigen.c (BFD64_BACKENDS): Add pepigen.c Add rules to create peigen.c and pepigen.c from peXXigen.c. diff --git a/bfd/ecoff.c b/bfd/ecoff.c index f22112b..afe9bc1 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -1,5 +1,5 @@ /* Generic ECOFF (Extended-COFF) routines. - Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 + Copyright 1990, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. Original version by Per Bothner. Full support added by Ian Lance Taylor, ian@cygnus.com. @@ -74,20 +74,26 @@ static unsigned int ecoff_armap_hash PARAMS ((CONST char *s, static asection bfd_debug_section = { - /* 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 + /* name, id, index, next, flags, user_set_vma, reloc_done, */ + "*DEBUG*", 0, 0, 0, 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, + /* 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, + /* symbol, */ + (struct symbol_cache_entry *) NULL, + /* symbol_ptr_ptr, */ + (struct symbol_cache_entry **) NULL, + /* link_order_head, link_order_tail */ + NULL, NULL }; /* Create an ECOFF object. */