summaryrefslogtreecommitdiff
path: root/sim/ppc/hw_init.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-06-15 01:08:57 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-06-15 01:08:57 +0000
commit39d586e8be35eeafac70948a141d146ce08ff985 (patch)
tree0d380b5050780c448205b7c37dc922c33cf7f599 /sim/ppc/hw_init.c
parent35ccf8f0b2230aad93865c6543765c86e4d1ac86 (diff)
downloadgdb-39d586e8be35eeafac70948a141d146ce08ff985.tar.gz
* hw_htab.c (htab_sum_binary(bfd): Use bfd_get_section_size
instead of bfd_get_section_size_before_reloc. (htab_dma_binary(bfd): Likewise. * hw_init.c (update_for_binary_section(bfd): Likewise.
Diffstat (limited to 'sim/ppc/hw_init.c')
-rw-r--r--sim/ppc/hw_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/ppc/hw_init.c b/sim/ppc/hw_init.c
index 253ef7c5323..1ac5434c142 100644
--- a/sim/ppc/hw_init.c
+++ b/sim/ppc/hw_init.c
@@ -1,6 +1,6 @@
/* This file is part of the program psim.
- Copyright 1994, 1997, 2003 Andrew Cagney
+ Copyright 1994, 1997, 2003, 2004 Andrew Cagney
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -329,7 +329,7 @@ update_for_binary_section(bfd *abfd,
return;
/* check/ignore any sections of size zero */
- section_size = bfd_get_section_size_before_reloc(the_section);
+ section_size = bfd_get_section_size (the_section);
if (section_size == 0)
return;