From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4427 invoked by alias); 30 May 2012 14:55:25 -0000 Received: (qmail 4419 invoked by uid 22791); 30 May 2012 14:55:24 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,FROM_12LTRDOM,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 14:55:11 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1SZkIo-0006kW-TM from joseph_myers@mentor.com for libc-ports@sourceware.org; Wed, 30 May 2012 07:55:11 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 May 2012 15:55:09 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1SZkIm-0000Zj-7B for libc-ports@sourceware.org; Wed, 30 May 2012 14:55:08 +0000 Date: Wed, 30 May 2012 14:55:00 -0000 From: "Joseph S. Myers" To: libc-ports@sourceware.org Subject: Remove __ASSUME_TRUNCATE64_SYSCALL for ARM Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00182.txt.bz2 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 + * 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