bfd_section_* macros
[deliverable/binutils-gdb.git] / sim / rx / gdb-if.c
index ef88146a5e92f63ccaff5db0a06e49e9cb251a16..68e4b96ed634b406e614513f4a3b7caa18970120 100644 (file)
@@ -164,14 +164,14 @@ build_swap_list (struct bfd *abfd)
          struct swap_list *sl;
          bfd_size_type size;
 
-         size = bfd_get_section_size (s);
+         size = bfd_section_size (s);
          if (size <= 0)
            continue;
          
          sl = malloc (sizeof (struct swap_list));
          assert (sl != NULL);
          sl->next = swap_list;
-         sl->start = bfd_section_lma (abfd, s);
+         sl->start = bfd_section_lma (s);
          sl->end = sl->start + size;
          swap_list = sl;
        }
This page took 0.024086 seconds and 4 git commands to generate.