[PATCH] bfd: make _bfd_section_size_insane part of the public API

Alan Modra amodra@gmail.com
Wed Jan 10 21:22:17 GMT 2024


On Wed, Jan 10, 2024 at 04:20:19PM +0000, Andrew Burgess wrote:
> My claim is that the function, as written today, is a validity check.

Yes, it is a sanity check, hence the name.  I'm OK with making this
function available outside of BFD, and if "insane" in the name is
uncomfortable then changing it to "bfd_section_size_sane" and
inverting the logic is fine by me too.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list