From owner-freebsd-arch@FreeBSD.ORG Sun Apr 8 04:47:35 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 930B71065672 for ; Sun, 8 Apr 2012 04:47:35 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from mailfilter18.ihug.co.nz (mailfilter18.ihug.co.nz [203.109.136.18]) by mx1.freebsd.org (Postfix) with ESMTP id 2C1578FC15 for ; Sun, 8 Apr 2012 04:47:35 +0000 (UTC) X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=kj9zAlcOel0A:10 a=f/SxzVRvWQdBqo0nlH1VRA==:17 a=0V1t0i4cAAAA:8 a=0qvrDrXZx4H4OPIaW0QA:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkAIADIXgU/Ldqol/2dsb2JhbABFtzOBcYEIggkBAQQBOhwjBQsIAxguOR4GE4gJBLlTkFoElWsBgRGPJYJ8 X-IronPort-AV: E=Sophos;i="4.75,389,1330858800"; d="scan'208";a="37051819" Received: from 203-118-170-37.adsl.ihug.co.nz (HELO localhost) ([203.118.170.37]) by cust.filter3.content.vf.net.nz with SMTP; 08 Apr 2012 16:46:25 +1200 Date: Sun, 8 Apr 2012 16:46:15 +1200 From: Andrew Turner To: Kristof Provost Message-ID: <20120408164615.12a4efe6@fubar.geek.nz> In-Reply-To: <20120407074725.GW9275@thebe.jupiter.sigsegv.be> References: <2FF97057-905D-4F02-9138-75680ABC6202@canonware.com> <4F79F020.9070504@freebsd.org> <3C11DB18-1C43-446E-A0BC-FC15C6126819@canonware.com> <4F7A170E.8020209@bluezbox.com> <4F7B98C0.6090209@bluezbox.com> <20120405205822.GR9275@thebe.jupiter.sigsegv.be> <20120407141821.4ece0331@fubar.geek.nz> <20120407074725.GW9275@thebe.jupiter.sigsegv.be> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arch@freebsd.org, Oleksandr Tymoshenko , Jason Evans Subject: Re: TLS on ARM and MIPS X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2012 04:47:35 -0000 On Sat, 7 Apr 2012 09:47:26 +0200 Kristof Provost wrote: > On 2012-04-07 14:18:21 (+1200), Andrew Turner > wrote: > > Can you try the patch at [1]. It should fix the issue you are > > seeing. It appears to create a correct version of __aeabi_read_tp > > but I'm waiting on buildworld/installworld to finish. > > > Yes, that works! > > I now get full user space, and no more alignment faults. Ok, I've committed the fix. TLS should work correctly on ARM now. Andrew -- Andrew Turner WhiteQueue Consulting http://whitequeue.com/ Custom FreeBSD and Linux development