This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stepping down


On Thu, Jun 11, 2015 at 02:41:48PM +0000, Joseph Myers wrote:
> On Wed, 10 Jun 2015, Rich Felker wrote:
> 
> > Did you see this?
> > 
> > http://lwn.net/SubscriberLink/647636/fdb277e9550d7141/
> > 
> > So far their work is focused on sh2/nommu, which glibc probably
> > doesn't support, but keeping/restoring superh as a
> 
> There is no no-MMU support in glibc (though I see no reason in principle 
> it shouldn't be possible to support it cleanly enough to get accepted if 
> anyone wishes to contribute patches - ELF no-MMU binaries not FLT, that 
> is).

I have a preliminary patch (possibly some small cleanup needed) posted
on the musl list (http://www.openwall.com/lists/musl/2015/06/10/1)
that makes it so the fdpic elf loader in the kernel can load normal,
non-fdpic ELF files too. In principle this makes it possible to use
glibc with minimal/no modification, but without fdpic I think the
per-process memory usage (and time spent memcpy'ing it in mmap) from
glibc would be prohibitive for most applications.

> Note that the SH2 FDPIC GCC support never got upstream (it was posted, but 
> there were disagreements about the implementation approach that were never 
> resolved).

Yes, I was wondering about where it disappeared to. I found where the
binutils-side patches were upstreamed, but couldn't find even the
proposed patches for GCC. This really should be revived and
upstreamed.

Rich


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]