$ cat ~/t.s
lis %r7,-0xEF60 >> 16 
$ ./as-new ~/t.s -v
GNU assembler version 2.20.51 (powerpc-unknown-nto-qnx6.5.0) using BFD version
(GNU Binutils) 2.20.51.20100925
/home/ryan/t.s: Assembler messages:
/home/ryan/t.s:1: Error: operand out of range (0x0000ffffffffffff is not between
0xffffffffffff0000 and 0x000000000000ffff)

On 32bit hosts the immediate operand is accepted.

-- 
           Summary: ppc: out-of-range immediate assembly error
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: rmansfield at qnx dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: powerpc-unknown-nto-qnx6.5.0


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

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