bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/4089] New: GAS allows using 64-bit regs in 32-bit mode (Intel s


From: artyom dot yakimov at intel dot com
Subject: [Bug gas/4089] New: GAS allows using 64-bit regs in 32-bit mode (Intel syntax)
Date: 22 Feb 2007 08:33:20 -0000

cat ./test.s ; ./as --32 -al -o test.o test.s
.intel_syntax noprefix
mov [rax],eax
GAS LISTING test.s                      page 1


   1                    .intel_syntax noprefix
   2 0000 A3000000      mov [rax],eax
   2      00

because for AT&T syntax GAS correctly complains:
cat ./test.s ; ./as --32 -al -o test.o test.s
mov %eax,(%rax)
test.s: Assembler messages:
test.s:1: Error: bad register name `%rax)'
GAS LISTING test.s                      page 1


   1                    mov %eax,(%rax)

./as -v
GNU assembler version 2.17.50 (x86_64-unknown-linux-gnu) using BFD version 
2.17.50 20070222

-- 
           Summary: GAS allows using 64-bit regs in 32-bit mode (Intel
                    syntax)
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: artyom dot yakimov at intel dot com
                CC: bug-binutils at gnu dot org


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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]