From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13714 invoked by alias); 17 Feb 2011 08:51:12 -0000 Received: (qmail 13704 invoked by uid 22791); 17 Feb 2011 08:51:12 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TBC X-Spam-Check-By: sourceware.org Received: from mail-bw0-f41.google.com (HELO mail-bw0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Feb 2011 08:51:06 +0000 Received: by bwz16 with SMTP id 16so2335325bwz.0 for ; Thu, 17 Feb 2011 00:51:04 -0800 (PST) Received: by 10.204.76.207 with SMTP id d15mr1403907bkk.104.1297932664495; Thu, 17 Feb 2011 00:51:04 -0800 (PST) Received: from [10.1.140.119] (fw.mobileye.com [94.188.132.2]) by mx.google.com with ESMTPS id b6sm465967bkb.22.2011.02.17.00.51.02 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 17 Feb 2011 00:51:03 -0800 (PST) Message-ID: <4D5CE174.50905@gmail.com> Date: Thu, 17 Feb 2011 08:51:00 -0000 From: Yinon Ehrlich User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Cary Coutant CC: Ian Lance Taylor , binutils@sourceware.org Subject: Re: Work done for Incremental link so far ? References: <4D5941F4.2070507@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2011-02/txt/msg00205.txt.bz2 On 02/14/2011 09:03 PM, Cary Coutant wrote: >>> Could you please provide me with pointers for starting - what was >>> already implemented, what are the next TODOs, is there any IRC channel >>> to discuss this work and so on... >> There is work being done to support incremental linking in the gold >> linker. Cary Coutant, CC'ed, is doing this work. I think it's mostly a >> set of patches in his own working directory, though. There is some >> design discussion at http://gcc.gnu.org/wiki/GoldIncrementalLinking . I >> don't know how up to date that is. > Yeah, I haven't been sending the patches very regularly, sorry. I'm in > bug-fixing mode right now, and will start feeding patches upstream > shortly, as soon as I get around to doing a git rebase -i to put them > into some semblance of a reasonable order. I did post a set of patches > back in September -- Ian reviewed the first of those and I committed > it, but I'll resubmit the other four. > > I need to update the wiki page to reflect the current implementation > -- I've had to add a field to track the section index for global > symbols in relocatable objects, a flag for whether a symbol is defined > or referenced in shared objects, an is_in_system_directory flag for > each input file, and a count of local symbols for each input file. > > -cary Hi Cary & Ian, thanks for the great work. I already changed all software links in our company to be done by gold and saw an amazing speed-up in link time (approx. 70%). However the faster linking goes, the stronger the appetite for more speed becomes ;) I'm reading the gold sources and http://gcc.gnu.org/wiki/GoldIncrementalLinking and have the following questions: * Are there specific areas where I can contribute to incremental linking ? * I have added a link to http://gcc.gnu.org/wiki/LinkGlossary - is this the right place to put terms I learned and/or want to share/ask ? Thanks a lot, Yinon