|
From: | Gan, George |
Subject: | Is this a gas bug? |
Date: | Wed, 19 May 2004 19:44:29 +0800 |
Hi all,
When I was using gas(Ver: 2.15.90.0.1.1, ia64-suse-linux), I met a very strange problem. I’m not sure whether it is a bug.
I have an assembly file, named, foo.S. It contains only two lines: mov rr[r3]=r7 ld8 r39 = [r35] I assembled it with the command: as –xauto foo.S –o foo.o. As I dump the object file, I got:
6 0000000000000000 <.text>: 7 [MMI] mov rr[r3]=r7;; 8 srlz.d 9 nop.i 0x0 10 [MFB] ld8 r0=[r0] 11 nop.f 0x0 12 nop.b 0x0;;
Do you know where does the “ld8 r0=[r0]” comes from? Is it a mechanism that used by gas to indicate a piece of dangerous code? If I substitute “ld8..” with a br, mov, or something else that is not “ld..”, it will be OK. The same problem occurs when I replace “rr” with “pkr”. And if I remove “-xauto” from the command line, it will be OK.
Sincerely
yours,
|
[Prev in Thread] | Current Thread | [Next in Thread] |