From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8541 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Updated musl/SH-FDPIC progress Date: Tue, 22 Sep 2015 01:27:54 -0400 Message-ID: <20150922052754.GW17773@brightrain.aerifal.cx> References: <20150911014850.GA18775@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1442899707 1395 80.91.229.3 (22 Sep 2015 05:28:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Sep 2015 05:28:27 +0000 (UTC) Cc: 0pf@nommu.org To: musl@lists.openwall.com Original-X-From: musl-return-8553-gllmg-musl=m.gmane.org@lists.openwall.com Tue Sep 22 07:28:21 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZeG7n-0002wH-KJ for gllmg-musl@m.gmane.org; Tue, 22 Sep 2015 07:28:19 +0200 Original-Received: (qmail 13858 invoked by uid 550); 22 Sep 2015 05:28:16 -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 13757 invoked from network); 22 Sep 2015 05:28:10 -0000 Content-Disposition: inline In-Reply-To: <20150911014850.GA18775@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8541 Archived-At: musl's fdpic dynamic linker is now working with basic functionality. There are some limitations I hope to lift soon; see the commit message: http://git.musl-libc.org/cgit/musl/commit/?id=7a9669e977e5f750cf72ccbd2614f8b72ce02c4c I've also made some important fixes to the toolchain patches. The issue with the backwards fdpic flag is now fixed on the binutils side, and some gcc codegen issues are fixed on the gcc side. They're all available (with build scripts) here: https://github.com/richfelker/musl-cross-make Make sure to enable fdpic in config.mak if you want to use it. Binaries produced with this toolchain will run out of the box on: - qemu-sh4eb (with or without fdpic loader added) - Real sh3/4 kernels and qemu-system-sh4eb or real hardware - Real sh2/j2 (but unified syscall trap patch is needed; latest is attached) This is all new stuff so I'd love to hear feedback from anyone who tries it, good or bad. Rich