<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:dave@cheney.net" title="Dave Cheney <dave@cheney.net>"> <span class="fn">Dave Cheney</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang 3.4 and above integrated assembler does not respect the .arch directive in .s files for arm"
href="http://llvm.org/bugs/show_bug.cgi?id=21319">bug 21319</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>DUPLICATE
</td>
<td>---
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang 3.4 and above integrated assembler does not respect the .arch directive in .s files for arm"
href="http://llvm.org/bugs/show_bug.cgi?id=21319#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED --- - clang 3.4 and above integrated assembler does not respect the .arch directive in .s files for arm"
href="http://llvm.org/bugs/show_bug.cgi?id=21319">bug 21319</a>
from <span class="vcard"><a class="email" href="mailto:dave@cheney.net" title="Dave Cheney <dave@cheney.net>"> <span class="fn">Dave Cheney</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>