From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21415 invoked by alias); 29 Apr 2005 13:02:09 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 21360 invoked from network); 29 Apr 2005 13:02:02 -0000 Received: from unknown (HELO mx01.qsc.de) (213.148.129.14) by sourceware.org with SMTP; 29 Apr 2005 13:02:02 -0000 Received: from port-195-158-168-232.dynamic.qsc.de ([195.158.168.232] helo=hattusa.textio) by mx01.qsc.de with esmtp (Exim 3.35 #1) id 1DRV7z-000105-00; Fri, 29 Apr 2005 15:01:55 +0200 Received: from ths by hattusa.textio with local (Exim 4.50) id 1DRV7z-0008AM-2t; Fri, 29 Apr 2005 15:01:55 +0200 Date: Fri, 29 Apr 2005 13:47:00 -0000 To: "Maciej W. Rozycki" Cc: binutils@sourceware.org Subject: Re: MIPS, strip --only-keep-debug & an infinite loop Message-ID: <20050429130154.GE1621@hattusa.textio> References: <200504282014.j3SKEO8G001654@elgar.sibelius.xs4all.nl> <20050429121900.GD1621@hattusa.textio> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i From: Thiemo Seufer X-SW-Source: 2005-04/txt/msg00882.txt.bz2 Maciej W. Rozycki wrote: > On Fri, 29 Apr 2005, Thiemo Seufer wrote: > > > > Hmm, it looks like a problem with "strip" in the first place -- > > > ".MIPS.options" isn't meant to be touched by that tool. > > > > Well, for --only-keep-debug it should remove .MIPS.options. > > The spec says the section is never to be stripped; it has that > SHF_MIPS_NOSTRIP flag set for this purpose. Given the section is meant to > be used by run-time ELF loaders (both for static and dynamic binaries), > that's quite a reasonable expectation. Are there other (IRIX?) > implementations that disagree with the spec in this respect? No, for the ELF loader that's correct. I misunderstood the semantics of --only-keep-debug. (Why isn't it just called --keep-debug?) Thiemo