mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
* 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.
This commit is contained in:
parent
e48c661ee6
commit
7b50b349e2
@ -1,3 +1,16 @@
|
||||
1999-09-10 Ian Lance Taylor <ian@zembu.com>
|
||||
|
||||
* 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.
|
||||
|
||||
Fri Sep 10 00:35:14 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* elf-hppa.h (elf_hppa_final_link_relocate): Create .opd entries
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* BFD back-end for ALPHA Extended-Coff files.
|
||||
Copyright 1993, 94, 95, 96, 1997 Free Software Foundation, Inc.
|
||||
Copyright 1993, 94, 95, 96, 97, 98, 1999 Free Software Foundation, Inc.
|
||||
Modified from coff-mips.c by Steve Chamberlain <sac@cygnus.com> and
|
||||
Ian Lance Taylor <ian@cygnus.com>.
|
||||
|
||||
@ -2266,13 +2266,14 @@ static const struct ecoff_backend_data alpha_ecoff_backend_data =
|
||||
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */
|
||||
alpha_ecoff_swap_filehdr_out, alpha_ecoff_swap_aouthdr_out,
|
||||
alpha_ecoff_swap_scnhdr_out,
|
||||
FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, true, false, 4,
|
||||
FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, true, false, 4,
|
||||
alpha_ecoff_swap_filehdr_in, alpha_ecoff_swap_aouthdr_in,
|
||||
alpha_ecoff_swap_scnhdr_in, NULL,
|
||||
alpha_ecoff_bad_format_hook, _bfd_ecoff_set_arch_mach_hook,
|
||||
alpha_ecoff_mkobject_hook, _bfd_ecoff_styp_to_sec_flags,
|
||||
_bfd_ecoff_set_alignment_hook, _bfd_ecoff_slurp_symbol_table,
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
|
||||
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
|
||||
NULL, NULL, NULL
|
||||
},
|
||||
/* Supported architecture. */
|
||||
bfd_arch_alpha,
|
||||
|
@ -2505,7 +2505,7 @@ static const struct ecoff_backend_data mips_ecoff_backend_data =
|
||||
(unsigned (*) PARAMS ((bfd *,PTR,PTR))) bfd_void, /* reloc_out */
|
||||
mips_ecoff_swap_filehdr_out, mips_ecoff_swap_aouthdr_out,
|
||||
mips_ecoff_swap_scnhdr_out,
|
||||
FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, true, false, 4,
|
||||
FILHSZ, AOUTSZ, SCNHSZ, 0, 0, 0, 0, FILNMLEN, true, false, 4,
|
||||
mips_ecoff_swap_filehdr_in, mips_ecoff_swap_aouthdr_in,
|
||||
mips_ecoff_swap_scnhdr_in, NULL,
|
||||
mips_ecoff_bad_format_hook, _bfd_ecoff_set_arch_mach_hook,
|
||||
|
20
bfd/ecoff.c
20
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;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* BFD ECOFF object file private structure.
|
||||
Copyright (C) 1993, 94, 95, 96, 1997 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993, 94, 95, 96, 97, 1999 Free Software Foundation, Inc.
|
||||
Written by Ian Lance Taylor, Cygnus Support.
|
||||
|
||||
This file is part of BFD, the Binary File Descriptor library.
|
||||
@ -341,7 +341,7 @@ extern PTR _bfd_ecoff_mkobject_hook PARAMS ((bfd *, PTR filehdr, PTR aouthdr));
|
||||
((void (*) PARAMS ((bfd *, asection *, PTR))) bfd_void)
|
||||
extern boolean _bfd_ecoff_set_arch_mach_hook PARAMS ((bfd *abfd, PTR filehdr));
|
||||
extern flagword _bfd_ecoff_styp_to_sec_flags
|
||||
PARAMS ((bfd *abfd, PTR hdr, const char *name));
|
||||
PARAMS ((bfd *abfd, PTR hdr, const char *name, asection *section));
|
||||
extern boolean _bfd_ecoff_slurp_symbol_table PARAMS ((bfd *abfd));
|
||||
|
||||
/* ECOFF auxiliary information swapping routines. These are the same
|
||||
|
Loading…
Reference in New Issue
Block a user