<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - inline assembly incompatibility between gcc and clang - mov with offset in intel dialect"
href="https://bugs.llvm.org/show_bug.cgi?id=32530">bug 32530</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>CONFIRMED
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - inline assembly incompatibility between gcc and clang - mov with offset in intel dialect"
href="https://bugs.llvm.org/show_bug.cgi?id=32530#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - inline assembly incompatibility between gcc and clang - mov with offset in intel dialect"
href="https://bugs.llvm.org/show_bug.cgi?id=32530">bug 32530</a>
from <span class="vcard"><a class="email" href="mailto:nicolasweber@gmx.de" title="Nico Weber <nicolasweber@gmx.de>"> <span class="fn">Nico Weber</span></a>
</span></b>
<pre>epastor fixed this a while ago in <a href="https://reviews.llvm.org/D71436">https://reviews.llvm.org/D71436</a>
% cat hello_linux.s
.intel_syntax noprefix
.text
.globl _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, offset msg
mov rdx, 14
syscall
mov rax, 60
mov rdi, 0
syscall
.data
msg:
.ascii "Hello, world!\n"
% out/gn/bin/clang --target=x86_64-unknown-linux-gnu hello_linux.s -nostdlib
-fuse-ld=lld
% echo $?
0</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>