[PATCH] bfd/bfd-in2.h: Change bfd_is_const_section back to old behavior.

Sonja Schofield sonja.tideman@oracle.com
Mon Apr 20 12:29:23 GMT 2020


Hello,

----- amodra@gmail.com wrote:
> Your patch is correct except that it should instead be applied to
> bfd/section.c, and I've already fixed the problem a slightly
> different
> way using:
> 
>   return (sec >= _bfd_std_section
>           && sec < _bfd_std_section + (sizeof (_bfd_std_section)
>                                        / sizeof
> (_bfd_std_section[0])));
> 

Yes, I saw that after I sent your patch and agree it fixes the issue.

Thanks for doing that!

Sonja


More information about the Binutils mailing list