summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/x86_64/sysdep.S
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-18 11:05:56 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-18 11:05:56 -0700
commit1b74487e904d7e17eda4278598632d2cd81d8068 (patch)
tree9ca594f35403fc022a83a65d98017c77a272835e /sysdeps/unix/sysv/linux/x86_64/sysdep.S
parenta88b64b9bbf8b2a315206e211250c5529534a477 (diff)
Use RAX_LP and "or" to operate on return value
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/sysdep.S')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/sysdep.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sysdep.S b/sysdeps/unix/sysv/linux/x86_64/sysdep.S
index 0de339a132..4372c5610c 100644
--- a/sysdeps/unix/sysv/linux/x86_64/sysdep.S
+++ b/sysdeps/unix/sysv/linux/x86_64/sysdep.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,7 @@
.text
ENTRY (__syscall_error)
- negq %rax
+ neg %RAX_LP
#define __syscall_error __syscall_error_1
#include <sysdeps/unix/x86_64/sysdep.S>