From 198beae2cfaf8ea8bfd554ef8d3d3feeabc33ed7 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 20 Oct 2003 14:38:46 +0000 Subject: 2003-10-19 Andrew Cagney * targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney * sim-base.h: Replace "struct sec" with "struct bfd_section". --- ld/ChangeLog | 4 ++++ ld/pe-dll.c | 16 ++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 406538d..5237d5e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2003-10-20 Andrew Cagney + + * pe-dll.c: Replace "struct sec" with "struct bfd_section". + 2003-10-19 Marek Michalkiewicz * Makefile.am: Remove old (before GCC 3.3) emulations for AVR diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 9682494..f9417be 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -137,7 +137,7 @@ int pe_dll_extra_pe_debug = 0; static bfd_vma image_base; static bfd *filler_bfd; -static struct sec *edata_s, *reloc_s; +static struct bfd_section *edata_s, *reloc_s; static unsigned char *edata_d, *reloc_d; static size_t edata_sz, reloc_sz; static int runtime_pseudo_relocs_created = 0; @@ -339,7 +339,7 @@ pe_export_sort (const void *va, const void *vb) defined, since we can't export symbols we don't have. */ static bfd_vma *exported_symbol_offsets; -static struct sec **exported_symbol_sections; +static struct bfd_section **exported_symbol_sections; static int export_table_size; static int count_exported; static int count_exported_byname; @@ -501,7 +501,7 @@ process_def_file (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info *info) int i, j; struct bfd_link_hash_entry *blhe; bfd *b; - struct sec *s; + struct bfd_section *s; def_file_export *e = 0; if (!pe_def_file) @@ -626,9 +626,9 @@ process_def_file (bfd *abfd ATTRIBUTE_UNUSED, struct bfd_link_info *info) e = pe_def_file->exports; exported_symbol_offsets = xmalloc (NE * sizeof (bfd_vma)); - exported_symbol_sections = xmalloc (NE * sizeof (struct sec *)); + exported_symbol_sections = xmalloc (NE * sizeof (struct bfd_section *)); - memset (exported_symbol_sections, 0, NE * sizeof (struct sec *)); + memset (exported_symbol_sections, 0, NE * sizeof (struct bfd_section *)); max_ordinal = 0; min_ordinal = 65536; count_exported = 0; @@ -967,7 +967,7 @@ fill_edata (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED) { if (pe_def_file->exports[s].ordinal != -1) { - struct sec *ssec = exported_symbol_sections[s]; + struct bfd_section *ssec = exported_symbol_sections[s]; unsigned long srva = (exported_symbol_offsets[s] + ssec->output_section->vma + ssec->output_offset); @@ -993,7 +993,7 @@ fill_edata (bfd *abfd, struct bfd_link_info *info ATTRIBUTE_UNUSED) } -static struct sec *current_sec; +static struct bfd_section *current_sec; void pe_walk_relocs_of_symbol (struct bfd_link_info *info, @@ -1060,7 +1060,7 @@ generate_reloc (bfd *abfd, struct bfd_link_info *info) unsigned long page_ptr, page_count; int bi; bfd *b; - struct sec *s; + struct bfd_section *s; total_relocs = 0; for (b = info->input_bfds; b; b = b->link_next) -- cgit v1.1