From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8003 Path: news.gmane.org!not-for-mail From: Rob Landley Newsgroups: gmane.linux.ports.sh.devel,gmane.linux.lib.musl.general,gmane.comp.lib.glibc.alpha Subject: Re: [musl] SH sigcontext ABI is broken Date: Tue, 23 Jun 2015 23:25:08 -0500 Message-ID: <558A3124.30701@landley.net> References: <20150619070912.GA15025@brightrain.aerifal.cx> <20150620180644.GY1173@brightrain.aerifal.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435119923 26340 80.91.229.3 (24 Jun 2015 04:25:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 04:25:23 +0000 (UTC) To: musl@lists.openwall.com, libc-alpha@sourceware.org, linux-sh@vger.kernel.org Original-X-From: linux-sh-owner@vger.kernel.org Wed Jun 24 06:25:16 2015 Return-path: Envelope-to: glps-linuxsh-dev@plane.gmane.org Original-Received: from vger.kernel.org ([209.132.180.67]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z7cFP-0004SX-FO for glps-linuxsh-dev@plane.gmane.org; Wed, 24 Jun 2015 06:25:15 +0200 Original-Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750777AbbFXEZN (ORCPT ); Wed, 24 Jun 2015 00:25:13 -0400 Original-Received: from mail-yk0-f180.google.com ([209.85.160.180]:35687 "EHLO mail-yk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750767AbbFXEZM (ORCPT ); Wed, 24 Jun 2015 00:25:12 -0400 Original-Received: by ykdy1 with SMTP id y1so17670974ykd.2 for ; Tue, 23 Jun 2015 21:25:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=5NKWNsN3IPjCy+zDnpH3lhaTbEKazEgrGpYfr12n7Yk=; b=ki/hpvwcQgGABYJKaCNzeaRUcgc12MwahW6r3fXa2eka43Nf9HvrJa1H+3adDUepy2 +mKJ5sjUW2c1kkALxVdimXW85GIbLseQJkHQ3j5ymUTFwedAtbTir4MsmEnN/IuJj/nd a6qcgKFcTNGPcEvpEUf5/96BOfIvQTTVum44XpAXNYUnHZ5XKjxPKyhdJlown6bMT065 yg4Ro78r7SBeBBMvDxdR3OIfQa65vpoa4uN1XbQ5OJz8Mqz19rASUuMAYBeY4FX+3Z+B c79qYXJQ2QHY71XvcVCjWFmMQ0Alh5ENqvGX16di23gGquDVk9+9i1qiz8nhg1Ud13pb hdVQ== X-Gm-Message-State: ALoCoQkoK0W3eH6ko4r3e9w87CxOakl2Gn4a8I+H1ukgySq4DSTfXHclckp3b5GAEjy6giQIkwYt X-Received: by 10.13.227.134 with SMTP id m128mr46900178ywe.131.1435119911970; Tue, 23 Jun 2015 21:25:11 -0700 (PDT) Original-Received: from [10.0.2.15] (cpe-72-182-52-210.austin.res.rr.com. [72.182.52.210]) by mx.google.com with ESMTPSA id y4sm15306934ywy.2.2015.06.23.21.25.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 21:25:10 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 In-Reply-To: <20150620180644.GY1173@brightrain.aerifal.cx> Original-Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Xref: news.gmane.org gmane.linux.ports.sh.devel:46752 gmane.linux.lib.musl.general:8003 gmane.comp.lib.glibc.alpha:52610 Archived-At: On 06/20/2015 01:06 PM, Rich Felker wrote: > So there's a lot of historical mess and breakage here, but sh3 > binaries have been running with a stable (albeit wrong, IMO) > definition of ucontext_t/mcontext_t/sigcontext for around 14 years > now (as long as they only run on sh3 hardware, not sh4). So I'm a bit > hesitant to consider this something that could be changed with no path > for compatibility. I'm told SH3 was only on sale for about a year between its introduction and sh4 coming out, at which point everybody switched. There were significant sh2 deployments and significant sh4 deployments, but sh3 was more or less a rounding error. The Wikipedia[citation needed] article doesn't even break it out separately because there's really nothing to say: https://en.wikipedia.org/?title=SuperH (Again, there's a reason qemu-system-sh4 has a 4 in it. At $DAYJOB their plan is to eventually jump from sh2 straight to sh4 because sh3 doesn't matter.) sh2a was a retcon, started shipping in 2007, a decade after the dreamcast. Hitachi had already unloaded superh onto Renesas, which did a big Not Invented Here on superh and kept trying to come up with their own processor designs. The H in H8300 also stands for Hitachi, so you can imagine how well Renesas supported it: http://permalink.gmane.org/gmane.linux.ports.sh.devel/7237 Seriously, It only became interesting again when the patents expired... Rob -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html