mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Cc: 0pf@nommu.org
Subject: Re: [0pf] musl/SH-FDPIC progress
Date: Fri, 11 Sep 2015 15:05:22 -0400	[thread overview]
Message-ID: <20150911190522.GW17773@brightrain.aerifal.cx> (raw)
In-Reply-To: <20150911014850.GA18775@brightrain.aerifal.cx>

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


  reply	other threads:[~2015-09-11 19:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11  1:48 Rich Felker
2015-09-11 19:05 ` Rich Felker [this message]
2015-09-12  3:29   ` Re: [0pf] " Rich Felker
2015-09-13 23:45   ` Rob Landley
2015-09-14  1:36     ` Rich Felker
2015-09-14 23:10     ` Rich Felker
2015-09-22  5:27 ` Updated " Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150911190522.GW17773@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=0pf@nommu.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).