This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: objdump output to as
- From: Daniel Jacobowitz <drow at false dot org>
- To: rauler at gmx-topmail dot de
- Cc: binutils at sourceware dot org
- Date: Wed, 9 May 2007 22:40:46 -0400
- Subject: Re: objdump output to as
- References: <20070509225017.287700@gmx.net>
On Thu, May 10, 2007 at 12:50:17AM +0200, rauler@gmx-topmail.de wrote:
> Hi,
>
> I would like to do some transformations on asm code. I thought it's
> possible to 'objdump' an executable, do the transformation and
> assemble it back with as to an executable. Somehow this doesn't seem
> to be possible. Which options do I need?
In general this is not possible. There is not enough information in
an executable to modify it; there may not even be enough information
in unlinked object files, but there it is considerably easier.
--
Daniel Jacobowitz
CodeSourcery