From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18640 invoked by alias); 21 Oct 2008 22:09:29 -0000 Received: (qmail 18628 invoked by uid 22791); 21 Oct 2008 22:09:28 -0000 X-Spam-Check-By: sourceware.org Received: from nskntmtas02p.mx.bigpond.com (HELO nskntmtas02p.mx.bigpond.com) (61.9.168.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Oct 2008 22:08:49 +0000 Received: from nskntotgx03p.mx.bigpond.com ([121.209.36.216]) by nskntmtas02p.mx.bigpond.com with ESMTP id <20081021220846.QOHU22947.nskntmtas02p.mx.bigpond.com@nskntotgx03p.mx.bigpond.com>; Tue, 21 Oct 2008 22:08:46 +0000 Received: from bubble.grove.modra.org ([121.209.36.216]) by nskntotgx03p.mx.bigpond.com with ESMTP id <20081021220845.XTIR12257.nskntotgx03p.mx.bigpond.com@bubble.grove.modra.org>; Tue, 21 Oct 2008 22:08:45 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 67CAD170C65C; Wed, 22 Oct 2008 08:38:45 +1030 (CST) Date: Tue, 21 Oct 2008 22:09:00 -0000 From: Alan Modra To: loody Cc: binutils@sourceware.org Subject: Re: Question about EXCLUDE FILE in ld script Message-ID: <20081021220845.GL9946@bubble.grove.modra.org> Mail-Followup-To: loody , binutils@sourceware.org References: <3a665c760810210733s631a440fhf5d4a8244678dde1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a665c760810210733s631a440fhf5d4a8244678dde1@mail.gmail.com> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-RPD-ScanID: Class unknown; VirusThreatLevel unknown, RefID str=0001.0A150201.48FE52EE.0029,ss=1,fgs=0 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: 2008-10/txt/msg00182.txt.bz2 On Tue, Oct 21, 2008 at 10:33:22PM +0800, loody wrote: > *(EXCLUDE_FILE (*crtend.o *otherfile.o) .ctors) > will cause all .ctors sections from all files except 'crtend.o' and > 'otherfile.o' to be included. " > > My question is: > Why we have to use "*crtend.o" and "*otherfile.o" instead of > "crtend.o" and "otherfile.o". You don't need a wildcard here. -- Alan Modra Australia Development Lab, IBM