From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B11BD397302D; Tue, 29 Sep 2020 05:25:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B11BD397302D From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/26674] dwz should be able to fix CRCs in .gnu_debuglink when optimizing separated debug files Date: Tue, 29 Sep 2020 05:25:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Sep 2020 05:25:12 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26674 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vries at gcc dot gnu.org --- Comment #1 from Tom de Vries --- (In reply to Konstantin Tokarev from comment #0) > tool for doing such > fix (I'm aware of sepdebugcrcfix but it's a part of rpm and isn't really > user-friendly) Well, I know this method: you remove the section, and then add it back using objcopy: ... $ objcopy -R .gnu_debuglink a.out $ objcopy --add-gnu-debuglink=3Da.debug a.out ... --=20 You are receiving this mail because: You are on the CC list for the bug.=