From: "Dave Korn" <dave.korn@artimi.com>
To: "'Daniel Jacobowitz'" <drow@false.org>,
"'Francesco Casadei'" <francesco.casadei@gmail.com>
Cc: <binutils@sourceware.org>
Subject: RE: ELF executable relinking
Date: Wed, 13 Apr 2005 16:23:00 -0000 [thread overview]
Message-ID: <SERRANOjSeKg1bzuDwP0000012d@SERRANO.CAM.ARTIMI.COM> (raw)
In-Reply-To: <20050413160322.GA27861@nevyn.them.org>
----Original Message----
>From: Daniel Jacobowitz
>Sent: 13 April 2005 17:03
> 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.
That's why the non-relocatable link is also called a "final" link: it
tends to be fairly final! (It discards information that would be needed to
link further object files in).
cheers,
DaveK
--
Can't think of a witty .sigline today....
prev parent reply other threads:[~2005-04-13 16:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-13 15:50 Francesco Casadei
2005-04-13 16:04 ` Daniel Jacobowitz
2005-04-13 16:23 ` Dave Korn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=SERRANOjSeKg1bzuDwP0000012d@SERRANO.CAM.ARTIMI.COM \
--to=dave.korn@artimi.com \
--cc=binutils@sourceware.org \
--cc=drow@false.org \
--cc=francesco.casadei@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).