From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31245 invoked by alias); 11 Sep 2014 16:21:50 -0000 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 Received: (qmail 31227 invoked by uid 89); 11 Sep 2014 16:21:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f50.google.com Received: from mail-oa0-f50.google.com (HELO mail-oa0-f50.google.com) (209.85.219.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 11 Sep 2014 16:21:48 +0000 Received: by mail-oa0-f50.google.com with SMTP id o6so14498795oag.9 for ; Thu, 11 Sep 2014 09:21:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=e2k2YhMcRqC4fm0WkUhljIXEQBi0iyguRSYOL7hQMvM=; b=GrIcIFSzwzoszqyk+NbTEk1GNEOtLXoqNCqIkUa7qFDNJUcz05Ev51Zf6y6Mal8JUc 6L3TELaFFjp7yxIv8am8uq7ZvT8uLvhoud21zOx1o295yGFxwGMtfOf7IuVZjRnc2XBW El3GD11aiDqKJIfJ+LQcGHTL5ElJAa/1kaWARCVMkOSRdpcITQxzn8vjT/g/qwRLVCAB 8x1ZrcnUkrNQ16+npmt9WmMsAB1UZP+rDwSskB4y6CxnBnql9vGOMqDDc8rwXXgVYA4v 2K9ROf2dRv6TcEO/8v+dwB2cz2yGRgp+rVLvxfHeon3wsQxQXKj5vtxloNSalveqAL4W hFrQ== X-Gm-Message-State: ALoCoQlD+6JNbGm8feP7pIeunKDGl/qKfg3xLqjYKLkZOzmgEZtiUAPGXrXk6jbz5InGjKQfj7MS MIME-Version: 1.0 X-Received: by 10.60.34.98 with SMTP id y2mr2443300oei.9.1410452506351; Thu, 11 Sep 2014 09:21:46 -0700 (PDT) Received: by 10.60.136.200 with HTTP; Thu, 11 Sep 2014 09:21:46 -0700 (PDT) In-Reply-To: References: <20140330042516.1A88E74481@topped-with-meat.com> <20140330045552.GX18201@bubble.grove.modra.org> <20140330050615.7DC5774481@topped-with-meat.com> <20140331200446.A09B074430@topped-with-meat.com> <20140331214025.E61517447E@topped-with-meat.com> <20140910225238.0B6362C39CF@topped-with-meat.com> Date: Thu, 11 Sep 2014 16:21:00 -0000 Message-ID: Subject: Re: gold vs libc From: Ian Lance Taylor To: Cary Coutant Cc: Roland McGrath , Alan Modra , "GNU C. Library" , Binutils , =?UTF-8?Q?Rafael_=C3=81vila_de_Esp=C3=ADndola?= Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00090.txt.bz2 On Thu, Sep 11, 2014 at 9:00 AM, Cary Coutant wrote: > > I could also special case by filename -- check > is_in_system_directory(), and if true, check the filename to see if it > contains "begin" or "end". Note that we already special case crtbegin and crtend in Output_section::Input_section_sort_compare::operator(). This is to emulate the GNU linker's special casing of crtbegin and crtend in ld/scripttempl/elf.sc. Ian