From 135dfb4a65d79b85be0c7d869fd131ee45203192 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 15 Jun 2004 01:19:13 +0000 Subject: * objcopy.c (copy_section): Use bfd_get_section_size instead of _raw_size or bfd_get_section_size_before_reloc. Don't set reloc_done. (compare_section_lma): Likewise. * addr2line.c (find_address_in_section): Likewise. * coffgrok.c (do_sections_p1): Likewise. * dlltool.c (scan_drectve_symbols): Likewise. * nlmconv.c (main): Likewise. (copy_sections): Likewise. (powerpc_mangle_relocs): Likewise. * objdump.c (disassemble_section): Likewise. * prdbg.c (find_address_in_section): Likewise. * size.c (berkeley_sum): Likewise. * srconv.c (wr_ob): Likewise. * strings.c (strings_a_section): Likewise. --- binutils/strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils/strings.c') diff --git a/binutils/strings.c b/binutils/strings.c index 0715be0e072..8a27fa800e4 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -317,7 +317,7 @@ strings_a_section (bfd *abfd, asection *sect, void *filearg) if ((sect->flags & DATA_FLAGS) == DATA_FLAGS) { - bfd_size_type sz = bfd_get_section_size_before_reloc (sect); + bfd_size_type sz = bfd_get_section_size (sect); void *mem = xmalloc (sz); if (bfd_get_section_contents (abfd, sect, mem, (file_ptr) 0, sz)) -- cgit v1.2.1