From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32156 invoked by alias); 18 May 2011 23:57:02 -0000 Received: (qmail 32144 invoked by uid 22791); 18 May 2011 23:57:01 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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; Wed, 18 May 2011 23:56:45 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id p4INuhCc005353 for ; Wed, 18 May 2011 16:56:44 -0700 Received: from pvg13 (pvg13.prod.google.com [10.241.210.141]) by wpaz24.hot.corp.google.com with ESMTP id p4INuf2C025089 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 18 May 2011 16:56:42 -0700 Received: by pvg13 with SMTP id 13so1430743pvg.40 for ; Wed, 18 May 2011 16:56:41 -0700 (PDT) Received: by 10.68.69.66 with SMTP id c2mr3811264pbu.104.1305763001513; Wed, 18 May 2011 16:56:41 -0700 (PDT) Received: from coign.google.com ([67.218.110.18]) by mx.google.com with ESMTPS id j2sm1359188pbo.79.2011.05.18.16.56.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 May 2011 16:56:40 -0700 (PDT) From: Ian Lance Taylor To: Yni Mous Cc: binutils@sourceware.org Subject: Re: partial linking that resolves relocations References: Date: Wed, 18 May 2011 23:57:00 -0000 In-Reply-To: (Yni Mous's message of "Wed, 18 May 2011 10:50:29 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-05/txt/msg00275.txt.bz2 Yni Mous writes: > Is there a way to combine object files (1.o and 2.o) to produce another > object file (similar to ld -i) with the relocations "resolved"? It could be done in principle for this simple test case, but I'm not aware of any tool which actually does it. Ian