From 5bfc0104a614021b6667b01fd32e8a87e5a22279 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 15 Jun 2004 01:24:22 +0000 Subject: * section.c (struct sec): Remove usused flags. Reorganize a little. (bfd_get_section_size_before_reloc): Delete. (bfd_get_section_size_after_reloc): Delete. (STD_SECTION): Update. (bfd_get_section_size_now): Delete. (bfd_set_section_contents): Don't referece reloc_done. (bfd_get_section_contents): Remove reloc_done comment. * bout.c (b_out_bfd_get_relocated_section_contents): Don't set reloc_done. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise. * ecoff.c (bfd_debug_section): Update initializer. * elfxx-mips.c (_bfd_elf_mips_get_relocated_section_contents): Ditto. * reloc.c (bfd_generic_get_relocated_section_contents): Likewise. * bfd-in.h (bfd_section_size): Expand. (bfd_get_section_size): New macro. * bfd-in2.h: Regenerate. * coff64-rs6000.c (xcoff64_write_object_contents): Replace bfd_get_section_size_before_reloc with bfd_get_section_size. * coffcode.h (coff_write_object_contents): Likewise. * coffgen.c (build_debug_section): Likewise. * dwarf1.c (parse_line_table): Likewise. (_bfd_dwarf1_find_nearest_line): Likewise. * ecoff.c (_bfd_ecoff_write_object_contents): Likewise. * i386msdos.c (msdos_write_object_contents): Likewise. * pdp11.c (squirt_out_relocs): Likewise. * elf32-sh64.c (sh64_find_section_for_address): Remove comment. * elf64-mmix.c (mmix_elf_final_link): Update comment. --- bfd/pdp11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/pdp11.c') diff --git a/bfd/pdp11.c b/bfd/pdp11.c index 95d2ccd30b..db5b267270 100644 --- a/bfd/pdp11.c +++ b/bfd/pdp11.c @@ -1,5 +1,5 @@ /* BFD back-end for PDP-11 a.out binaries. - Copyright 2001, 2002, 2003 Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2004 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -2314,7 +2314,7 @@ NAME(aout,squirt_out_relocs) (abfd, section) return TRUE; #endif - natsize = bfd_get_section_size_before_reloc (section); + natsize = bfd_get_section_size (section); native = (unsigned char *) bfd_zalloc (abfd, natsize); if (!native) return FALSE; -- cgit v1.2.1