From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5697 invoked by alias); 12 Apr 2007 11:29:57 -0000 Received: (qmail 5687 invoked by uid 22791); 12 Apr 2007 11:29:56 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Apr 2007 12:29:52 +0100 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l3CBToj0014260; Thu, 12 Apr 2007 07:29:50 -0400 Received: from pobox.surrey.redhat.com (pobox.fab.redhat.com [10.33.63.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l3CBTnPZ028204; Thu, 12 Apr 2007 07:29:50 -0400 Received: from [10.13.248.103] (vpn-248-103.boston.redhat.com [10.13.248.103]) by pobox.surrey.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l3CBTmcb011018; Thu, 12 Apr 2007 12:29:48 +0100 Message-ID: <461E191E.5010102@redhat.com> Date: Thu, 12 Apr 2007 13:22:00 -0000 From: Nick Clifton User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: "H. J. Lu" CC: binutils@sources.redhat.com Subject: Re: PATCH: PR binutils/4348: strip can't strip sections References: <20070412040843.GA8868@lucon.org> In-Reply-To: <20070412040843.GA8868@lucon.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00145.txt.bz2 Hi H. J. > I don't see why objcopy should stop when there are no sections to be > copied. After all, the resulting output file is still valid ELF > file. I agree that the tools should not fail. But they also should tell the user that nothing has happened. Otherwise the user will never know that their objcopy/strip command was pointless and they may then consider it a bug that nothing has changed. Cheers Nick