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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs