https://sourceware.org/bugzilla/show_bug.cgi?id=18087

--- Comment #2 from Jon TURNEY <jon.turney at dronecode dot org.uk> ---
(In reply to Kai Tietz from comment #1)
> Yes, it is likely that we have here an issue in updating section size, if
> compression actually increases, instead of decreasing size.
> 
> IMO the saner approach would be to reject compression, if content gets
> larger as before

I think my patch is no good because an output PE which is unstripped but has
compressed debug sections is not valid, because it breaks the "sections must
have contiguous VMAs" constraint.

So not compressing if the section gets larger sounds like a better approach. 
I'll have a go at implementing that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to