From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 800183861004; Tue, 23 Mar 2021 14:19:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 800183861004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1616509195; bh=NA88yGw1sK4tjQhP3flQuvEv6y5NWAqfcJsdcXoxV+w=; h=From:To:Subject:Date:From; b=VT4o/zUqqRU9xtAg1mGs43inBqWJtbhgBqfKEYE3Ahrt0HhTUiJWajpgbG0y50OKI 8k+o5/Iz4TU0krW5xTzAiIn3DSrL4cmnnelMqhHi5G4d8Ip+MkuhLFWGKGkjbJUFDb wmd7r2jPsHvS06n2ILwPLodUOPWLA0JlCSvu17Fw= From: "mark at klomp dot org" To: debugedit@sourceware.org Subject: [Bug debugedit/27636] New: Debugedit doesn't handle compressed debug ELF sections Date: Tue, 23 Mar 2021 14:19:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: debugedit X-Bugzilla-Component: debugedit X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: debugedit@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: debugedit development mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2021 14:19:55 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27636 Bug ID: 27636 Summary: Debugedit doesn't handle compressed debug ELF sections Product: debugedit Version: unspecified Status: NEW Severity: normal Priority: P2 Component: debugedit Assignee: unassigned at sourceware dot org Reporter: mark at klomp dot org CC: debugedit at sourceware dot org Target Milestone: --- When seeing compressed debug ELF sections debugedit gets confused: debugedit: ./foo.o: DWARF version 0 unhandled This is a somewhat useless error message. We should at least detect SHF_COMPRESSED (or .zdebug...) and explicitly say= we don't handle compressed sections. If we do decide to handle compressed sections there are a couple of ways: - Do we simply always uncompress and leave it that way? - Do we recompress afterwards? - Do we require an explicit flag to (de/re)compress? --=20 You are receiving this mail because: You are on the CC list for the bug.=