Re: [Patch, ppc/darwin 1/2] Fix bootstrap.

2018-12-03 Thread Alan Modra
On Mon, Dec 03, 2018 at 07:14:36PM +, Iain Sandoe wrote: > > > On 3 Dec 2018, at 06:18, Alan Modra wrote: > > > > On Mon, Dec 03, 2018 at 01:26:48AM +, Iain Sandoe wrote: > > >> The first patch makes Darwin share the sysv lowering, up until late in the > >> process when we still use th

Re: [Patch, ppc/darwin 1/2] Fix bootstrap.

2018-12-03 Thread Iain Sandoe
> On 3 Dec 2018, at 06:18, Alan Modra wrote: > > On Mon, Dec 03, 2018 at 01:26:48AM +, Iain Sandoe wrote: >> The first patch makes Darwin share the sysv lowering, up until late in the >> process when we still use the macho_call_template. This means we need to >> preserve the CALL_LONG fl

Re: [Patch, ppc/darwin 1/2] Fix bootstrap.

2018-12-02 Thread Alan Modra
On Mon, Dec 03, 2018 at 01:26:48AM +, Iain Sandoe wrote: > Hi, > > Recent changes to the lowerings for call handling in rs6000 have broken > bootstrap for powerpc-darwin. > > I’m proposing two patches; > 1. the minimal fix to bootstrap - which I believe also fixes some possible > typos in t

[Patch, ppc/darwin 1/2] Fix bootstrap.

2018-12-02 Thread Iain Sandoe
Hi, Recent changes to the lowerings for call handling in rs6000 have broken bootstrap for powerpc-darwin. I’m proposing two patches; 1. the minimal fix to bootstrap - which I believe also fixes some possible typos in the patterns for sysv. 2. a second patch that brings Darwin into line with Ala