summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/generic/sysdep.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 18:56:13 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 18:57:13 +0000
commit82dd75a7f436a19047325d62182590c9f9e23a78 (patch)
tree60ca20c8cf2b0d178d84725c0715471f76df97e1 /sysdeps/unix/sysv/linux/generic/sysdep.h
parent0bbb676a2342367c4e52b35e890f24667dabb348 (diff)
parent963c37d5c0eb62b38f8764b23931c0dcdd497a13 (diff)
Merge commit 'refs/top-bases/t/tls' into t/tls
Diffstat (limited to 'sysdeps/unix/sysv/linux/generic/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/generic/sysdep.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/sysdeps/unix/sysv/linux/generic/sysdep.h b/sysdeps/unix/sysv/linux/generic/sysdep.h
index 4f2c65d074..81a1011f46 100644
--- a/sysdeps/unix/sysv/linux/generic/sysdep.h
+++ b/sysdeps/unix/sysv/linux/generic/sysdep.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011.
@@ -22,7 +22,9 @@
#include <sysdeps/unix/sysv/linux/sysdep.h>
/* Provide the common name to allow more code reuse. */
-#define __NR__llseek __NR_llseek
+#ifdef __NR_llseek
+# define __NR__llseek __NR_llseek
+#endif
#if __WORDSIZE == 64
/* By defining the older names, glibc will build syscall wrappers for
@@ -31,13 +33,3 @@
#define __NR_pread __NR_pread64
#define __NR_pwrite __NR_pwrite64
#endif
-
-/* Provide a dummy argument that can be used to force register
- alignment for register pairs if required by the syscall ABI. */
-#ifdef __ASSUME_ALIGNED_REGISTER_PAIRS
-#define __ALIGNMENT_ARG 0,
-#define __ALIGNMENT_COUNT(a,b) b
-#else
-#define __ALIGNMENT_ARG
-#define __ALIGNMENT_COUNT(a,b) a
-#endif