summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2017-06-01 12:14:48 +0000
committernaddy <naddy@openbsd.org>2017-06-01 12:14:48 +0000
commitac65b426516576844ee4eade46d47d7c1bf8702b (patch)
tree1849b4cc31e5fbb1f981cbe31232fd662c031a8a /lib/libc
parentDon't panic when we cannot locate a handle for the Serial IO protocol. (diff)
downloadwireguard-openbsd-ac65b426516576844ee4eade46d47d7c1bf8702b.tar.xz
wireguard-openbsd-ac65b426516576844ee4eade46d47d7c1bf8702b.zip
Remove branch prediction hint from conditional branch instruction.
These hints are not recognized by clang's builtin assembler. From the corresponding amd64 change. ok visa@ kettenis@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/arch/i386/SYS.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/i386/SYS.h b/lib/libc/arch/i386/SYS.h
index 59852a449a7..3ecba9830e4 100644
--- a/lib/libc/arch/i386/SYS.h
+++ b/lib/libc/arch/i386/SYS.h
@@ -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: