* m32r-rom.c (m32r_load_section): Update to match

bfd_map_over_sections's ``func'' arg.
This commit is contained in:
Andrew Cagney
2000-12-02 13:43:26 +00:00
parent 12f02c2abc
commit a12ee2c5a4
2 changed files with 7 additions and 1 deletions

View File

@@ -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);