X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fbfd-in2.h;h=44902fc8d05ca82e845ece5cb41846467a79b620;hb=bb2942085c83289c56cc3ef8b9ab0ecf6267efa3;hp=80ff8e89b58413b15530da7967ea43d0c371f8a6;hpb=618265039f697eab9e72bb58b95fc2d32925df58;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 80ff8e89b5..44902fc8d0 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -6861,7 +6861,7 @@ static inline bfd_size_type bfd_get_section_limit (const bfd *abfd, const asection *sec) { return (bfd_get_section_limit_octets (abfd, sec) - / bfd_octets_per_byte (abfd, NULL)); + / bfd_octets_per_byte (abfd, sec)); } /* Functions to handle insertion and deletion of a bfd's sections. These