This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ELF executable relinking


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]