Remove branch prediction hint from conditional branch instruction.
authornaddy <naddy@openbsd.org>
Thu, 1 Jun 2017 12:14:48 +0000 (12:14 +0000)
committernaddy <naddy@openbsd.org>
Thu, 1 Jun 2017 12:14:48 +0000 (12:14 +0000)
These hints are not recognized by clang's builtin assembler.
From the corresponding amd64 change.  ok visa@ kettenis@

lib/libc/arch/i386/SYS.h

index 59852a4..3ecba98 100644 (file)
@@ -29,7 +29,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     $OpenBSD: SYS.h,v 1.25 2016/05/07 19:05:21 guenther Exp $
+ *     $OpenBSD: SYS.h,v 1.26 2017/06/01 12:14:48 naddy Exp $
  */
 
 #include <machine/asm.h>
@@ -89,7 +89,7 @@
        movl    $-1, %eax;                              \
        movl    $-1, %edx       /* for lseek */
 #define HANDLE_ERRNO()                                 \
-       jnc,pt  99f;                                    \
+       jnc     99f;                                    \
        SET_ERRNO();                                    \
        99: