diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2017-06-01 12:14:49 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2017-06-01 12:14:49 +0000 |
commit | 0bcad6c48027299894a89a6153f777dfc15b3ecf (patch) | |
tree | 45b334c255d0da64dcc3c401e108326e54514e5f /lib | |
parent | 4b81f7dea3debc1121c3c4a89e49b16b763e005a (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')
-rw-r--r-- | lib/libc/arch/i386/SYS.h | 4 |
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: |