[patch] sanity check bfd_is_section_compressed header
Cary Coutant
ccoutant@google.com
Thu Jun 6 18:00:00 GMT 2013
> I did some digging and it looks like nothing in binutils will generate
> a .debug_* section that's compressed. Can other tools do so? Did I
> miss anything? If there can't be a compressed .debug_* "in the wild"
> then I think removing the check for .debug_* in that snippet is
> the right change.
Yes, I agree. At some point, we probably will start using
SHF_COMPRESSED with the .debug_* names, but then the proper check will
be for the section flag, not just looking at the contents of the
section.
> Of course, the sanity check might be useful *also* :-)
Sure.
> Suggestions?
Removing the test for ".debug_" looks good to me.
-cary
More information about the Binutils
mailing list