From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28721 invoked by alias); 13 Apr 2005 16:04:22 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 28319 invoked from network); 13 Apr 2005 16:03:38 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 13 Apr 2005 16:03:38 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DLkKp-0007G6-DO; Wed, 13 Apr 2005 12:03:23 -0400 Date: Wed, 13 Apr 2005 16:04:00 -0000 From: Daniel Jacobowitz To: Francesco Casadei Cc: binutils@sourceware.org Subject: Re: ELF executable relinking Message-ID: <20050413160322.GA27861@nevyn.them.org> Mail-Followup-To: Francesco Casadei , binutils@sourceware.org References: <23392f030504130850783c0ead@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23392f030504130850783c0ead@mail.gmail.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00320.txt.bz2 On Wed, Apr 13, 2005 at 11:50:33AM -0400, Francesco Casadei wrote: > Basically, I want to add new unrelated code to an existing ELF executable > ET_EXEC), by relinking it with a relocatable object (ET_REL). > Is it possible to input an executable and one or more relocatable > object to the link > editor and generate a new executable with code and data from all objects? Generally no. -- Daniel Jacobowitz CodeSourcery, LLC