https://sourceware.org/bugzilla/show_bug.cgi?id=21303

            Bug ID: 21303
           Summary: [powerpc] objdump doesn't show e200z4 specific
                    instructions
           Product: binutils
           Version: 2.28
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: alfedotov at gmail dot com
  Target Milestone: ---

Hi

Assembling simple file with only following lines:
e_li   0, 0
lbdcbx 0, 1, 2
lhdcbx 0, 1, 2
lwdcbx 0, 1, 2
./powerpc-eabivle-as  -me200z4  e200z4.s -o e200z4.o
and disassembling it back gives me:
./powerpc-eabivle-objdump -dS -Me200z4 e200z4.o > e200z4.dis
00000000 <.text>:
   0:   70 00 00 00     e_li    r0,0
   4:   7c 01 14 04     .long 0x7c011404
   8:   7c 01 14 44     .long 0x7c011444
   c:   7c 01 14 84     .long 0x7c011484

But when I commented line with e_li insn and repeated assemble-disassemble I
got correct result:
00000000 <.text>:
   0:   7c 01 14 04     lbdcbx  r0,r1,r2
   4:   7c 01 14 44     lhdcbx  r0,r1,r2
   8:   7c 01 14 84     lwdcbx  r0,r1,r2


Any ideas ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to