Date: Fri, 11 Sep 2015 15:05:22 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Cc: 0pf@...mu.org Subject: Re: [0pf] musl/SH-FDPIC progress On Thu, Sep 10, 2015 at 09:48:50PM -0400, Rich Felker wrote: > I now have a working prototype of static-linked FDPIC binary support > in musl libc using gcc 5.2 (with the forward-ported SH-FDPIC patch) > and binutils 2.25.1. I've tested simple example programs and some > non-trivial examples with threads and they work both under qemu-sh4eb > with FDPIC support added (needs a small patch) and on real J2 > hardware, where they successfully share text/execute-in-place. > > The gcc patch is presently against gcc with all the other patches from > my musl-cross-make repo applied, so some refactoring will be needed to > propose it upstream, but I think it's ready for initial review. After > a little bit more cleanup (mainly bad specs logic) I'll go ahead and > put a version of this patch in the toolchain repo. I've posted the current version of my patches in my toolchain repo: https://github.com/richfelker/musl-cross-make/commit/3a0c9775b69ae311d89b6a9df6788d43f206cf6c As noted in the commit message, a patch on the musl side is needed to get actual working binaries. I'll post a version of this (not appropriate for upstream) soon. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.