From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19155 invoked by alias); 22 Jan 2014 17:14:28 -0000 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 Received: (qmail 19119 invoked by uid 89); 22 Jan 2014 17:14:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jan 2014 17:14:25 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1W61Nd-00055M-5x from joseph_myers@mentor.com ; Wed, 22 Jan 2014 09:14:21 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 22 Jan 2014 09:14:21 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Wed, 22 Jan 2014 17:14:19 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1W61Na-0003YX-7t; Wed, 22 Jan 2014 17:14:18 +0000 Date: Wed, 22 Jan 2014 17:14:00 -0000 From: "Joseph S. Myers" To: Mike Frysinger CC: , Roland McGrath Subject: Re: Unused sys/ucontext.h files In-Reply-To: <201401212341.32520.vapier@gentoo.org> Message-ID: References: <201401212341.32520.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2014-01/txt/msg00050.txt.bz2 On Tue, 21 Jan 2014, Mike Frysinger wrote: > On Tuesday 21 January 2014 22:26:54 Joseph S. Myers wrote: > > I notice that there are files > > > > ports/sysdeps/arm/sys/ucontext.h > > ports/sysdeps/m68k/sys/ucontext.h > > ports/sysdeps/mips/sys/ucontext.h > > > > that are overridden by files in ports/sysdeps/unix/sysv/linux/, and > > so unused. Roland, is the ARM file of use for the NaCl port, or should > > all three of those files be removed? > > are we saying that if it's not used by Linux we're just deleting it now ? No, that if it's not used by any current configuration (which currently means Hurd or Linux) it's deleted unless it's of use in bringing up a new port ("generic" files, whether pure stubs or actual generic implementations). And I strongly suspect these files are just files for whatever Unix was first supported on a given architecture - I don't really see advantages of such files over sysdeps/generic/sys/ucontext.h in the context of bringing up ports (which I expect would inevitably need OS-specific versions of this file in the end). (The sysdeps/i386/sys/ucontext.h file is, I suppose, used by Hurd, but other /sys/ucontext.h files appear either unused, or in the am33 case maybe really a Linux file in the wrong place.) -- Joseph S. Myers joseph@codesourcery.com