From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5050 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: Re: thumb2 support Date: Sun, 4 May 2014 12:54:40 +0100 Message-ID: References: <20140428120630.GG12324@port70.net> <20140428142714.GX26358@brightrain.aerifal.cx> <20140429005658.GC26358@brightrain.aerifal.cx> <20140430190357.GM26358@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1399204499 4736 80.91.229.3 (4 May 2014 11:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2014 11:54:59 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5054-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 04 13:54:54 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Wgv0Q-0000Uf-5N for gllmg-musl@plane.gmane.org; Sun, 04 May 2014 13:54:54 +0200 Original-Received: (qmail 16340 invoked by uid 550); 4 May 2014 11:54:53 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 16331 invoked from network); 4 May 2014 11:54:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=B6fNYjgfQt/IXjJSompEsx9xxvf8urnHvRNqilj71Mo=; b=nvClqJeyJ6sFaqW1BYMl1RSBPbuA1j5c/bdN3+VBgkExWBTb65/fcQsXwepC5oS5Gj qY7ZZtxzaGGhl7Wsag6cejV+lQ+cw6C/bBQjRe94mNnmJ1K66bPb8FYW5bDsCQqdxQWy igpDKkMv/fRmJQ06Owo9kNrMgoGG37NImmLZ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=B6fNYjgfQt/IXjJSompEsx9xxvf8urnHvRNqilj71Mo=; b=lOLjygofVzO1v01qBjxQigWI3xrLlHWTrYq612trI3XR6PkXevWYYolNq0pt4H6JNd DmJmfg2k7fs1UR/UuM57H7BEJxvmK5AsnYczmbCwBY8y+eRCxaguillZ3hKZ7lxhnmZo 4aXntCgJZx8BgA2Fb9oCOxDuRFJ0maZFVIUdV3M3WulOZS7JlyjP0F57HyGKeyvagw5r DydjGePUXWDJSCUVjyhy/IBs7UVv4keZjJQjp9W0ZI0yzjqBrusdIGsl982riQQlNIlU skO4JlDIp2DB0j7lE29eDrgyqXqhOuq+7lFpDxJ4fkuDQ4uS+tCZnL1S+rKOb1yzBqRh BwTw== X-Gm-Message-State: ALoCoQk2iwwugK0+SlfIxPDptWd8SQA4yvjCVLSnHsfI5FUCKyaKybf8xsps3QuMxb+PMhKW0W+D X-Received: by 10.60.62.178 with SMTP id z18mr1458912oer.61.1399204481061; Sun, 04 May 2014 04:54:41 -0700 (PDT) In-Reply-To: <20140430190357.GM26358@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:5050 Archived-At: On Wed, Apr 30, 2014 at 8:03 PM, Rich Felker wrote: > On Tue, Apr 29, 2014 at 06:09:14PM +0200, Wermut wrote: >> Hi >> >> I have tested the patch from Stephen Thomas at least for gcc 4.6, 4.7 >> and 4.8. Seems to work. Would be nice if the 1.1.1 release will >> include a fix. > > It only works for armv7. On armv6k, I'm getting errors that the > instructions aren't supported. I think we could simply add !thumb as a > condition for the whole block... The patch has the wrong conditional in, there are no standard __thumb__ and __thumb2__ defines, it is __ARM_ARCH_ISA_THUMB being 1 or 2 that differentiates. armv6k does not support thumb2. I should have enough machines of different flavours to make a working patch. We should be able to support just using thumb2, for thumb 1 I guess we can support a mixed mode with some files like this compiled for arm only, but the rest compiled with thumb, with interop turned on. Not sure how messy this will turn out to be. Justin