This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Is there a tool, given .o file, generating the corresponding .s file in Linux?
- From: Denis Vlasenko <vda at port dot imtp dot ilyichevsk dot odessa dot ua>
- To: "Haizhi Xu" <xuhaizhi at hotmail dot com>, binutils at sources dot redhat dot com
- Date: Thu, 10 Oct 2002 09:12:13 -0200
- Subject: Re: Is there a tool, given .o file, generating the corresponding .s file in Linux?
- References: <F85IaU5yjtSpAunQmI2000193f4@hotmail.com>
- Reply-to: vda at port dot imtp dot ilyichevsk dot odessa dot ua
On 9 October 2002 15:58, Haizhi Xu wrote:
> Dear all:
>
> I am looking for a tool, given .o file, to generate the corresponding
> .s file.
>
> My intension is to convert the .o obj file back into a .s assembly
> file. After doing some 'change' to the assembly file, I need to
> recompile it back to the .o file.
>
> I tried 'objdump', it was ok. But I need to manually copy the screen
> to a file and revise it. Besides, the ".type main, @function" needs
> to be added to the code manually.
What do you mean by 'manually'? Since when output redirection
ceased to work for objdump? :-)
--
vda