bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/18087] objcopy --compress-debug-sections can produce broke


From: jon.turney at dronecode dot org.uk
Subject: [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries
Date: Fri, 06 Mar 2015 13:58:25 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]