diff options
Diffstat (limited to 'binutils/srconv.c')
-rw-r--r-- | binutils/srconv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/srconv.c b/binutils/srconv.c index 39c1a4f..a421f64 100644 --- a/binutils/srconv.c +++ b/binutils/srconv.c @@ -419,14 +419,14 @@ wr_ob (struct coff_ofile *p ATTRIBUTE_UNUSED, struct coff_section *section) unsigned char stuff[200]; i = 0; - while (i < bfd_get_section_size (section->bfd_section)) + while (i < bfd_section_size (section->bfd_section)) { struct IT_ob ob; int todo = 200; /* Copy in 200 byte lumps. */ ob.spare = 0; - if (i + todo > bfd_get_section_size (section->bfd_section)) - todo = bfd_get_section_size (section->bfd_section) - i; + if (i + todo > bfd_section_size (section->bfd_section)) + todo = bfd_section_size (section->bfd_section) - i; if (first) { |