Re: [RS6000] Use config/linux.h for powerpc*-*-linux*

2018-11-28 Thread Segher Boessenkool
On Wed, Nov 28, 2018 at 11:54:55PM +1030, Alan Modra wrote: > On Wed, Nov 28, 2018 at 01:12:45PM +0100, Matthias Klose wrote: > > On 27.11.18 00:56, Alan Modra wrote: > > > On Mon, Nov 26, 2018 at 05:16:38PM -0600, Segher Boessenkool wrote: > > >> On Mon, Nov 12, 2018 at 09:56:37PM +1030, Alan

Re: [RS6000] Use config/linux.h for powerpc*-*-linux*

2018-11-28 Thread Alan Modra
On Wed, Nov 28, 2018 at 01:12:45PM +0100, Matthias Klose wrote: > On 27.11.18 00:56, Alan Modra wrote: > > On Mon, Nov 26, 2018 at 05:16:38PM -0600, Segher Boessenkool wrote: > >> On Mon, Nov 12, 2018 at 09:56:37PM +1030, Alan Modra wrote: > >>> Using the macros in config/linux.h rather than

Re: [RS6000] Use config/linux.h for powerpc*-*-linux*

2018-11-28 Thread Matthias Klose
On 27.11.18 00:56, Alan Modra wrote: > On Mon, Nov 26, 2018 at 05:16:38PM -0600, Segher Boessenkool wrote: >> On Mon, Nov 12, 2018 at 09:56:37PM +1030, Alan Modra wrote: >>> Using the macros in config/linux.h rather than duplicating them helps >>> stop future bitrot, and repairs existing bitrot (4

Re: [RS6000] Use config/linux.h for powerpc*-*-linux*

2018-11-26 Thread Alan Modra
On Mon, Nov 26, 2018 at 05:16:38PM -0600, Segher Boessenkool wrote: > On Mon, Nov 12, 2018 at 09:56:37PM +1030, Alan Modra wrote: > > Using the macros in config/linux.h rather than duplicating them helps > > stop future bitrot, and repairs existing bitrot (4 choices for libc in > > linux.h, fewer

Re: [RS6000] Use config/linux.h for powerpc*-*-linux*

2018-11-26 Thread Segher Boessenkool
Hi Alan, On Mon, Nov 12, 2018 at 09:56:37PM +1030, Alan Modra wrote: > Using the macros in config/linux.h rather than duplicating them helps > stop future bitrot, and repairs existing bitrot (4 choices for libc in > linux.h, fewer in the rs6000 files not that it matters much). Also > fixes the

[RS6000] Use config/linux.h for powerpc*-*-linux*

2018-11-12 Thread Alan Modra
Using the macros in config/linux.h rather than duplicating them helps stop future bitrot, and repairs existing bitrot (4 choices for libc in linux.h, fewer in the rs6000 files not that it matters much). Also fixes the fact that __gnu_linux__ was always defined rather than just when glibc was the