RE: [PATCH 6/13] mips musl support

2015-05-08 Thread Matthew Fortune
Jeff Law writes: > On 05/08/2015 10:50 AM, Joseph Myers wrote: > > > > Note that however the dynamic linker does properly need to save and > > restore call-clobbered registers used for argument passing (because of > > IFUNCs, user-provided malloc, audit hooks etc. that might affect them > > even i

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Jeff Law
On 05/08/2015 10:50 AM, Joseph Myers wrote: Note that however the dynamic linker does properly need to save and restore call-clobbered registers used for argument passing (because of IFUNCs, user-provided malloc, audit hooks etc. that might affect them even if the dynamic linker itself doesn't);

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Jeff Law
On 05/08/2015 08:25 AM, Matthew Fortune wrote: There is also the perspective that we should be able to aim for an ABI variant agnostic dynamic linker at some point over the next year by working towards a build that truly uses no float and is hence compatible with all the ABI variants. Having see

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Rich Felker
On Fri, May 08, 2015 at 04:50:28PM +, Joseph Myers wrote: > On Fri, 8 May 2015, Rich Felker wrote: > > > On Fri, May 08, 2015 at 03:41:31PM +0100, Szabolcs Nagy wrote: > > > > I.e. as it stands this patch is not OK for backporting to GCC 5 > > > > without further discussion. > > > > > > > > T

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Joseph Myers
On Fri, 8 May 2015, Rich Felker wrote: > On Fri, May 08, 2015 at 03:41:31PM +0100, Szabolcs Nagy wrote: > > > I.e. as it stands this patch is not OK for backporting to GCC 5 > > > without further discussion. > > > > > > There is also the perspective that we should be able to aim for > > > an ABI

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Kyrill Tkachov
On 08/05/15 16:13, Szabolcs Nagy wrote: On 08/05/15 15:46, Matthew Fortune wrote: Szabolcs Nagy writes: if you think that's ok, i can now submit the patch with %{msoft-float:- sf} added to all abi variants. That's fine. Go ahead. the patch for the record. I've committed this on Szabolcs'

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Szabolcs Nagy
On 08/05/15 15:46, Matthew Fortune wrote: > Szabolcs Nagy writes: >> if you think that's ok, i can now submit the patch with %{msoft-float:- >> sf} added to all abi variants. > > That's fine. Go ahead. > the patch for the record. Changelog: 2015-05-08 Gregor Richards Szabolcs N

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Rich Felker
On Fri, May 08, 2015 at 03:41:31PM +0100, Szabolcs Nagy wrote: > > I.e. as it stands this patch is not OK for backporting to GCC 5 > > without further discussion. > > > > There is also the perspective that we should be able to aim for > > an ABI variant agnostic dynamic linker at some point over t

RE: [PATCH 6/13] mips musl support

2015-05-08 Thread Matthew Fortune
Szabolcs Nagy writes: > On 08/05/15 15:25, Matthew Fortune wrote: > > H.J. Lu writes: > >> On Mon, Apr 27, 2015 at 7:40 AM, Szabolcs Nagy > >> > >> wrote: > >>> > >>> > >>> On 21/04/15 15:59, Matthew Fortune wrote: > Rich Felker writes: > > On Tue, Apr 21, 2015 at 01:58:02PM +, Mat

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Szabolcs Nagy
On 08/05/15 15:25, Matthew Fortune wrote: > H.J. Lu writes: >> On Mon, Apr 27, 2015 at 7:40 AM, Szabolcs Nagy >> wrote: >>> >>> >>> On 21/04/15 15:59, Matthew Fortune wrote: Rich Felker writes: > On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortune wrote: >> There does howeve

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Rich Felker
On Fri, May 08, 2015 at 02:25:11PM +, Matthew Fortune wrote: > H.J. Lu writes: > > On Mon, Apr 27, 2015 at 7:40 AM, Szabolcs Nagy > > wrote: > > > > > > > > > On 21/04/15 15:59, Matthew Fortune wrote: > > >> Rich Felker writes: > > >>> On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortun

RE: [PATCH 6/13] mips musl support

2015-05-08 Thread Matthew Fortune
H.J. Lu writes: > On Mon, Apr 27, 2015 at 7:40 AM, Szabolcs Nagy > wrote: > > > > > > On 21/04/15 15:59, Matthew Fortune wrote: > >> Rich Felker writes: > >>> On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortune wrote: > There does however appear to be both soft and hard float variants

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread Szabolcs Nagy
On 08/05/15 14:56, H.J. Lu wrote: > On Mon, Apr 27, 2015 at 7:40 AM, Szabolcs Nagy wrote: >> On 21/04/15 15:59, Matthew Fortune wrote: >>> Rich Felker writes: On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortune wrote: > There does however appear to be both soft and hard float varia

Re: [PATCH 6/13] mips musl support

2015-05-08 Thread H.J. Lu
On Mon, Apr 27, 2015 at 7:40 AM, Szabolcs Nagy wrote: > > > On 21/04/15 15:59, Matthew Fortune wrote: >> Rich Felker writes: >>> On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortune wrote: There does however appear to be both soft and hard float variants > > Patch v2. > > Now all the AB

Re: [PATCH 6/13] mips musl support

2015-04-27 Thread Szabolcs Nagy
On 21/04/15 15:59, Matthew Fortune wrote: > Rich Felker writes: >> On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortune wrote: >>> There does however appear to be both soft and hard float variants Patch v2. Now all the ABI variants musl plans to support are represented. gcc/Changelog: 2

RE: [PATCH 6/13] mips musl support

2015-04-21 Thread Matthew Fortune
Rich Felker writes: > On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortune wrote: > > Szabolcs Nagy writes: > > > Set up dynamic linker name for mips. > > > > > > gcc/Changelog: > > > > > > 2015-04-16 Gregor Richards > > > > > > * config/mips/linux.h (MUSL_DYNAMIC_LINKER): Define. > > >

Re: [PATCH 6/13] mips musl support

2015-04-21 Thread Rich Felker
On Tue, Apr 21, 2015 at 01:58:02PM +, Matthew Fortune wrote: > Szabolcs Nagy writes: > > Set up dynamic linker name for mips. > > > > gcc/Changelog: > > > > 2015-04-16 Gregor Richards > > > > * config/mips/linux.h (MUSL_DYNAMIC_LINKER): Define. > > I understand that mips musl is o32

RE: [PATCH 6/13] mips musl support

2015-04-21 Thread Matthew Fortune
Szabolcs Nagy writes: > Set up dynamic linker name for mips. > > gcc/Changelog: > > 2015-04-16 Gregor Richards > > * config/mips/linux.h (MUSL_DYNAMIC_LINKER): Define. I understand that mips musl is o32 only currently is that correct? There does however appear to be both soft and hard

[PATCH 6/13] mips musl support

2015-04-20 Thread Szabolcs Nagy
Set up dynamic linker name for mips. gcc/Changelog: 2015-04-16 Gregor Richards * config/mips/linux.h (MUSL_DYNAMIC_LINKER): Define. diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h index 91df261..5057bc5 100644 --- a/gcc/config/mips/linux.h +++ b/gcc/config/mips/linux.h