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]

Is there a tool, given .o file, generating the corresponding .s file in Linux?


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.

So, is there such a convenient tool to generate a .s file directly?

Thanks a lot.
Hai

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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