The following assembly instruction causes gas to generate the error message 
shown.
        lmw     %r0, 0x0(%r1)

../utility/gdb_raw_exception.S:1198: Error: index register in load range

When assembled using the CodeWarrior assembler, no error message appears and 
the code executes correctly.

I will enclose a file that contains this instruction.  You can recreate the 
bug by typing
> powerpc-unknown-eabi-as lmwtest.S

-- 
           Summary: incorrect error message when assembling lmw opcode
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: Daniel dot Davies at xerox dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: powerpc-unknown-eabi


http://sources.redhat.com/bugzilla/show_bug.cgi?id=985

------- 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