Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/x86_64/sys No need to use movq for the small i...
details: https://anonhg.NetBSD.org/src/rev/2990f9b6f7d8
branches: trunk
changeset: 544247:2990f9b6f7d8
user: fvdl <fvdl%NetBSD.org@localhost>
date: Sat Mar 15 12:34:33 2003 +0000
description:
No need to use movq for the small immediate values here, they'll be
zero-extended with movl.
diffstat:
lib/libc/arch/x86_64/sys/__sigtramp1.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r fe1c6f1730ae -r 2990f9b6f7d8 lib/libc/arch/x86_64/sys/__sigtramp1.S
--- a/lib/libc/arch/x86_64/sys/__sigtramp1.S Sat Mar 15 12:33:55 2003 +0000
+++ b/lib/libc/arch/x86_64/sys/__sigtramp1.S Sat Mar 15 12:34:33 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: __sigtramp1.S,v 1.3 2002/12/13 17:43:02 fvdl Exp $ */
+/* $NetBSD: __sigtramp1.S,v 1.4 2003/03/15 12:34:33 fvdl Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -48,7 +48,7 @@
NENTRY(__sigtramp_sigcontext_1)
movq %rsp,%rdi
pushq %rdi /* fake return address */
- movq $SYS___sigreturn14,%rax
+ movl $SYS___sigreturn14,%eax
int $0x80 /* to avoid clobbering registers */
- movq $SYS_exit,%rax
+ movl $SYS_exit,%eax
syscall
Home |
Main Index |
Thread Index |
Old Index