[LLVMbugs] [Bug 18916] New: don't err on ".att_syntax prefix"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 20 17:57:54 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18916

            Bug ID: 18916
           Summary: don't err on ".att_syntax prefix"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

The ".{intel,att}_syntax [no]prefix" directives are documented here:
 
https://sourceware.org/binutils/docs-2.24/as/i386_002dVariations.html#i386_002dVariations
and we don't currently appear to support them:

$ cat 1.s
.att_syntax prefix
$ llvm/Debug+Asserts/bin/clang 1.s
1.s:1:13: error: invalid instruction mnemonic 'prefix'
.att_syntax prefix
            ^~~~~~
$ gcc 1.s
/usr/lib/x86_64-linux-gnu/crt1.o(.text+0x20): error: undefined reference to
'main'
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140221/2dc9ec7a/attachment.html>


More information about the llvm-bugs mailing list