Subject: Re: tracking program counter / assembling objdump output
To: None <SigmFSK@aol.com>
From: David Laight <david@l8s.co.uk>
List: port-m68k
Date: 10/12/2006 07:41:32
On Sat, Sep 30, 2006 at 05:10:33PM -0400, SigmFSK@aol.com wrote:
>  
> It still would be nice to be able, with GCC, to assemble the output of  
> objdump dissassembled executables.  That seems like such an awesome  feature;
> I don't know why objdump output is not immediately in assemblable  form.

Because it isn't possible.
The disassembler cannot know whether constants should be absolute numbers,
diffences between addresses, or addresses themselves.  So when you
reassemmble the output you'll end up with incorrect code.

	David

-- 
David Laight: david@l8s.co.uk