------- Additional Comments From nickc at redhat dot com  2006-10-02 17:22 
-------
Sure it can - you just need to tell it to disassemble instructions for the
correct architecture.  Try this test:

  % cat pr3229.s
    .text
    .global fred
fred:
     .long 0x7c0058ec
     .long 0x7c0303ec
    cli 1, 2
    clf 2, 3     

  % powerpc-gas pr3229.s -o pr3229.o
  % powerpc-objdump -m rs6000:6000 -d pr3229.o

a.out:     file format elf64-big

Disassembly of section .text:

0000000000000000 <fred>:
   0:   7c 00 58 ec     clf     r0,r11
   4:   7c 03 03 ec     cli     r0,r3
   8:   7c 22 03 ec     cli     r1,r2
   c:   7c 02 18 ec     clf     r2,r3

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=3229

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to