summaryrefslogtreecommitdiff
path: root/lib/libc/arch
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2017-06-01 12:14:49 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2017-06-01 12:14:49 +0000
commit0bcad6c48027299894a89a6153f777dfc15b3ecf (patch)
tree45b334c255d0da64dcc3c401e108326e54514e5f /lib/libc/arch
parent4b81f7dea3debc1121c3c4a89e49b16b763e005a (diff)
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/arch')
-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: