From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2611 invoked by alias); 6 Jun 2003 14:51:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2556 invoked from network); 6 Jun 2003 14:51:35 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 6 Jun 2003 14:51:35 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h56EpZH08716 for ; Fri, 6 Jun 2003 10:51:35 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h56EpZI24364 for ; Fri, 6 Jun 2003 10:51:35 -0400 Received: from localhost.localdomain.redhat.com (vpn50-2.rdu.redhat.com [172.16.50.2]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h56EpW610851; Fri, 6 Jun 2003 10:51:34 -0400 To: Elena Zannoni Cc: gdb-patches@sources.redhat.com Subject: Re: RFC: strip --strip-nondebug References: <16095.28727.461421.387212@localhost.redhat.com> <16095.39199.714582.752069@localhost.redhat.com> <16096.38018.961095.469616@localhost.redhat.com> From: Nick Clifton Date: Fri, 06 Jun 2003 14:51:00 -0000 In-Reply-To: <16096.38018.961095.469616@localhost.redhat.com> (Elena Zannoni's message of "Fri, 6 Jun 2003 09:17:54 -0400") Message-ID: User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-06/txt/msg00235.txt.bz2 Hi Elena, > The strip utility does it. Well addign a .gnu_debuglink section with --add-section does not work, because the section needs to contain a file name and CRC. *sigh*. It looks like we are going to have to add another new option to objcopy: --add-gnu_debuglink-section= Cheers Nick