[LLVMbugs] [Bug 21319] clang 3.4 and above integrated assembler does not respect the .arch directive in .s files for arm
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 21 16:03:29 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=21319
Dave Cheney <dave at cheney.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |---
--- Comment #2 from Dave Cheney <dave at cheney.net> ---
Thank you for your comment.
I disagree that this bug is a duplicate of 20757. Having read the referenced
issue I believe you were suggesting that if I move the .arch directive to the
header of the file, ie, the top, this will fix the problem
$ clang -c gcc_arm.s
gcc_arm.s:3:2: error: instruction requires: armv5t
blx r5 // setg(g)
^
$ cat gcc_arm.s
.arch armv5t
foo:
blx r5 // setg(g)
Sadly this does not appear to be the case.
--
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/20141021/8ad1dfd0/attachment.html>
More information about the llvm-bugs
mailing list