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: nickc at redhat dot com
Subject: [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries
Date: Tue, 17 Mar 2015 17:43:23 +0000

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

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #5 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 8192
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8192&action=edit
Extended version of Jon's patch

Hi Jon,

  Your patch is good, but it misses a couple of points:

  * A change similar to the one in coffgen.c is needed in elf.c for ELF based
targets.

  * The assembler needs to be updated as well so that it's
--compress-debug-sections option only compresses when it is effective.

   * The documentation needs to be updated to explicitly mention that
compression only happens when it is worthwhile.


I have uploaded an extended version of your patch which should handle these
points.  Please could you try it out and let me know if it works for you.

Cheers
  Nick

-- 
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]