* Remove __ASSUME_TRUNCATE64_SYSCALL for ARM
@ 2012-05-30 14:55 Joseph S. Myers
0 siblings, 0 replies; only message in thread
From: Joseph S. Myers @ 2012-05-30 14:55 UTC (permalink / raw)
To: libc-ports
Now that libc no longer defines or tests __ASSUME_TRUNCATE64_SYSCALL I've
applied this patch to remove the definition for ARM. hppa, m68k and tile
should similarly have this macro removed.
diff --git a/ChangeLog.arm b/ChangeLog.arm
index 1737284..9a3962e 100644
--- a/ChangeLog.arm
+++ b/ChangeLog.arm
@@ -1,5 +1,8 @@
2012-05-30 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/sysv/linux/arm/kernel-features.h
+ (__ASSUME_TRUNCATE64_SYSCALL): Remove.
+
* sysdeps/arm/start.S [!__USING_SJLJ_EXCEPTIONS__]: Make code
unconditional.
* sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c
diff --git a/sysdeps/unix/sysv/linux/arm/kernel-features.h b/sysdeps/unix/sysv/linux/arm/kernel-features.h
index 3eeb075..74d549a 100644
--- a/sysdeps/unix/sysv/linux/arm/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/arm/kernel-features.h
@@ -22,10 +22,9 @@
# define __ASSUME_UTIMES 1
#endif
-/* On ARM the truncate64/ftruncate64/mmap2/stat64/lstat64/fstat64
- syscalls were introduced in 2.3.35. */
+/* On ARM the mmap2/stat64/lstat64/fstat64 syscalls were introduced in
+ 2.3.35. */
#if __LINUX_KERNEL_VERSION >= 131875
-# define __ASSUME_TRUNCATE64_SYSCALL 1
# define __ASSUME_MMAP2_SYSCALL 1
# define __ASSUME_STAT64_SYSCALL 1
#endif
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-30 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30 14:55 Remove __ASSUME_TRUNCATE64_SYSCALL for ARM Joseph S. Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).