From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16567 invoked by alias); 14 Feb 2011 19:03:23 -0000 Received: (qmail 16557 invoked by uid 22791); 14 Feb 2011 19:03:22 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (74.125.121.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 14 Feb 2011 19:03:15 +0000 Received: from hpaq12.eem.corp.google.com (hpaq12.eem.corp.google.com [172.25.149.12]) by smtp-out.google.com with ESMTP id p1EJ3Dbm020697 for ; Mon, 14 Feb 2011 11:03:13 -0800 Received: from qwj9 (qwj9.prod.google.com [10.241.195.73]) by hpaq12.eem.corp.google.com with ESMTP id p1EJ3B1T028056 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 14 Feb 2011 11:03:12 -0800 Received: by qwj9 with SMTP id 9so3191540qwj.36 for ; Mon, 14 Feb 2011 11:03:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.189.65 with SMTP id dd1mr3229445qcb.21.1297710190587; Mon, 14 Feb 2011 11:03:10 -0800 (PST) Received: by 10.229.15.146 with HTTP; Mon, 14 Feb 2011 11:03:10 -0800 (PST) In-Reply-To: References: <4D5941F4.2070507@gmail.com> Date: Mon, 14 Feb 2011 19:03:00 -0000 Message-ID: Subject: Re: Work done for Incremental link so far ? From: Cary Coutant To: Ian Lance Taylor Cc: Yinon Ehrlich , binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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: 2011-02/txt/msg00145.txt.bz2 >> 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. =A0Cary Coutant, CC'ed, is doing this work. =A0I think it's mostl= y a > set of patches in his own working directory, though. =A0There is some > design discussion at http://gcc.gnu.org/wiki/GoldIncrementalLinking . =A0I > 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