From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17629 invoked by alias); 2 Dec 2007 22:26:38 -0000 Received: (qmail 17620 invoked by uid 22791); 2 Dec 2007 22:26:38 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 02 Dec 2007 22:26:31 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4A4442A97D0; Sun, 2 Dec 2007 17:26:29 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1bd8GGNaAeMV; Sun, 2 Dec 2007 17:26:29 -0500 (EST) Received: from province.act-europe.fr (province.act-europe.fr [212.99.106.214]) by rock.gnat.com (Postfix) with ESMTP id 1A01E2A9723; Sun, 2 Dec 2007 17:26:29 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by filtered-province.act-europe.fr (Postfix) with ESMTP id 96A78165A59; Sun, 2 Dec 2007 23:26:28 +0100 (CET) Received: from province.act-europe.fr ([127.0.0.1]) by localhost (province.act-europe.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I+jvzCeNW9eK; Sun, 2 Dec 2007 23:26:28 +0100 (CET) Received: from [192.168.1.3] (dyn-83-156-55-88.ppp.tiscali.fr [83.156.55.88]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by province.act-europe.fr (Postfix) with ESMTP id 5BCD6165754; Sun, 2 Dec 2007 23:26:28 +0100 (CET) From: Eric Botcazou To: Richard Sandiford Subject: Re: Fix --gc-sections for C++ MIPS ELF Date: Sun, 02 Dec 2007 22:26:00 -0000 User-Agent: KMail/1.7.1 Cc: binutils@sourceware.org References: <87r6i4svjg.fsf@firetop.home> In-Reply-To: <87r6i4svjg.fsf@firetop.home> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712022326.57206.ebotcazou@adacore.com> 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-12/txt/msg00009.txt.bz2 > Non-PIC CIEs for targets like x86_64-linux-gnu also have direct references > to the personality routines. I suspect the only reason -Wl,--gc-sections > -static-libgcc works for them is that libgcc's own CIEs use an indirect > reference, so the section gets marked that way. The section is supposed to be always marked, see scripttempl/elf.sc. -- Eric Botcazou