summaryrefslogtreecommitdiffstats
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-12-02 13:43:26 +0000
committerAndrew Cagney <cagney@redhat.com>2000-12-02 13:43:26 +0000
commita12ee2c5a45ec0ea10cb707a784f323e5ef8e055 (patch)
tree6f40ff2a24e25514149471e347a1765c47c957bc /gdb/m32r-rom.c
parent12f02c2abcf260cc0a923d536a9f4162bcbd6e1a (diff)
downloadppe42-binutils-a12ee2c5a45ec0ea10cb707a784f323e5ef8e055.tar.gz
ppe42-binutils-a12ee2c5a45ec0ea10cb707a784f323e5ef8e055.zip
* m32r-rom.c (m32r_load_section): Update to match
bfd_map_over_sections's ``func'' arg.
Diffstat (limited to 'gdb/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index d6b1e5cd4b..b283279212 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -62,8 +62,9 @@ static char *download_path; /* user-settable path for SREC files */
*/
static void
-m32r_load_section (bfd *abfd, asection *s, unsigned int *data_count)
+m32r_load_section (bfd *abfd, asection *s, void *obj)
{
+ unsigned int *data_count = obj;
if (s->flags & SEC_LOAD)
{
bfd_size_type section_size = bfd_section_size (abfd, s);
OpenPOWER on IntegriCloud