aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-06-15 01:19:13 +0000
committerAlan Modra <amodra@gmail.com>2004-06-15 01:19:13 +0000
commit135dfb4a65d79b85be0c7d869fd131ee45203192 (patch)
tree084c9f504e2a73bcd7df787151af2064f51a7a8a /binutils/objdump.c
parent587aac4eafdba408b9043477548474aa05c377cf (diff)
downloadgdb-135dfb4a65d79b85be0c7d869fd131ee45203192.zip
gdb-135dfb4a65d79b85be0c7d869fd131ee45203192.tar.gz
gdb-135dfb4a65d79b85be0c7d869fd131ee45203192.tar.bz2
* 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.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index c3982e1..6c42d3a 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -1579,7 +1579,7 @@ disassemble_section (bfd *abfd, asection *section, void *info)
if (! process_section_p (section))
return;
- datasize = bfd_get_section_size_before_reloc (section);
+ datasize = bfd_get_section_size (section);
if (datasize == 0)
return;