A symble and absolute vaule problem in the objdump
Andreas Schwab
schwab@suse.de
Tue Oct 29 14:36:00 GMT 2002
Haizhi Xu <hxu02@ecs.syr.edu> writes:
|> Hi, friends:
|> I got a headache problem from objdump. I have an assembly file, which contain
|> the following code. Then I assembled it using gcc and get the .o object file.
|> When applying the objdump, the code turns out to be weired to me. The lable
|> address is changed to an absolute address and the function address is changed to
|> an absolute address too, which is the MIDDLE of the call instruction! I tried it
|> on gdb and got the same result.
|> My question is: From the output of the objdump, how can I identify the symbles
|> and how can I restore them?
Use "objdump -d -r" to get the disassembly annotated with relocations.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list