https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082009-04-25T00:25:59ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #1346: [PATCH]https://bugs.dragonflybsd.org/issues/1346?journal_id=64852009-04-25T00:25:59Zdillon
<ul></ul><p>:New submission from Alex Hornung <<a class="email" href="mailto:ahornung@gmail.com">ahornung@gmail.com</a>>:<br />:<br />:1) remove uses of <i>label</i>, which is not supported by llvm/clang and is no=<br />:t<br />:needed for either gcc or llvm/clang.<br />:<br />:2) remove uses of register type var <i>asm("ecx") and other variable<br />:register-binding as it is not supported by llvm/clang and is superfluous. B=<br />:y<br />:specifying that the variable content should go into ecx in the clobber list=<br />:, the<br />:current use is not needed.<br />:<br />:3) add an ugly hack, conditionalized on _<em>clang</i>, to allow correct<br />:compilation of atomic_intr_cond_try(). This hack should be removed once<br />:http://llvm.org/bugs/show_bug.cgi?id=3D3812 is solved. It is conditionalize=<br />:d on<br />:</em>_clang__ define because it is not a valid syntax for gcc.<br />:<br />:Patch is at:<br />:http://gitweb.dragonflybsd.org/~alexh/dragonfly.git/commit/6e6c8028465bf25a=<br />:6e9f5685b57a3fee79f77382</p>
<pre><code>Committed! Actually, cherry-picked from your leaf repo. That<br /> sure makes it convenient!</code></pre>
<pre><code>-Matt</code></pre>