[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.
- [Bug binutils/18087] New: objcopy --compress-debug-sections can produce broken debug sections in PE binaries, jon.turney at dronecode dot org.uk, 2015/03/06
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, ktietz70 at googlemail dot com, 2015/03/06
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, jon.turney at dronecode dot org.uk, 2015/03/06
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, jon.turney at dronecode dot org.uk, 2015/03/07
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, jon.turney at dronecode dot org.uk, 2015/03/07
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, yselkowi at redhat dot com, 2015/03/09
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries,
nickc at redhat dot com <=
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, nickc at redhat dot com, 2015/03/17
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, jon.turney at dronecode dot org.uk, 2015/03/17
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, hjl.tools at gmail dot com, 2015/03/17
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, cvs-commit at gcc dot gnu.org, 2015/03/18
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, nickc at redhat dot com, 2015/03/18
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, cvs-commit at gcc dot gnu.org, 2015/03/18
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, jon.turney at dronecode dot org.uk, 2015/03/18
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, cvs-commit at gcc dot gnu.org, 2015/03/19
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, cvs-commit at gcc dot gnu.org, 2015/03/24
- [Bug binutils/18087] objcopy --compress-debug-sections can produce broken debug sections in PE binaries, cvs-commit at gcc dot gnu.org, 2015/03/24